forked from mirrors/nixpkgs
Travis: check tarball creation even for pull requests
This will help us catch PR that break the tarball creation, for example by breaking evaluation on other platforms.
This commit is contained in:
parent
f2b01a662d
commit
c7df7f6361
|
@ -28,12 +28,13 @@ elif [[ $1 == build ]]; then
|
||||||
source $HOME/.nix-profile/etc/profile.d/nix.sh
|
source $HOME/.nix-profile/etc/profile.d/nix.sh
|
||||||
|
|
||||||
if [[ $TRAVIS_PULL_REQUEST == false ]]; then
|
if [[ $TRAVIS_PULL_REQUEST == false ]]; then
|
||||||
echo "===> Not a pull request, checking evaluation"
|
echo "=== Not a pull request"
|
||||||
nix-build pkgs/top-level/release.nix -A tarball
|
|
||||||
else
|
else
|
||||||
echo "=== Checking PR"
|
echo "=== Checking PR"
|
||||||
nox-review pr ${TRAVIS_PULL_REQUEST}
|
nox-review pr ${TRAVIS_PULL_REQUEST}
|
||||||
fi
|
fi
|
||||||
|
echo "=== Checking tarball creation"
|
||||||
|
nix-build pkgs/top-level/release.nix -A tarball
|
||||||
else
|
else
|
||||||
echo "$0: Unknown option $1" >&2
|
echo "$0: Unknown option $1" >&2
|
||||||
false
|
false
|
||||||
|
|
Loading…
Reference in a new issue