1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

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:
Georges Dubus 2015-01-01 22:16:31 +01:00
parent f2b01a662d
commit c7df7f6361

View file

@ -28,12 +28,13 @@ elif [[ $1 == build ]]; then
source $HOME/.nix-profile/etc/profile.d/nix.sh
if [[ $TRAVIS_PULL_REQUEST == false ]]; then
echo "===> Not a pull request, checking evaluation"
nix-build pkgs/top-level/release.nix -A tarball
echo "=== Not a pull request"
else
echo "=== Checking PR"
nox-review pr ${TRAVIS_PULL_REQUEST}
fi
echo "=== Checking tarball creation"
nix-build pkgs/top-level/release.nix -A tarball
else
echo "$0: Unknown option $1" >&2
false