git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commitc7df7f6361cb160ae566065aa840cf07975fef92 authorGeorges Dubus <georges.dubus@numergy.com> dateThu 1 Jan 2015, 22:16 (12 years ago) parentf2b01a6
1 file changed+3−2
maintainers/scripts/travis-nox-review-pr.sh+3−2
maintainers/scripts/travis-nox-review-pr.sh+3−2
@@ -28,12 +28,13 @@ elif [[ $1 == build ]]; then
2828 source $HOME/.nix-profile/etc/profile.d/nix.sh
2929
3030 if [[ $TRAVIS_PULL_REQUEST == false ]]; then
31− echo "===> Not a pull request, checking evaluation"
32− nix-build pkgs/top-level/release.nix -A tarball
31+ echo "=== Not a pull request"
3332 else
3433 echo "=== Checking PR"
3534 nox-review pr ${TRAVIS_PULL_REQUEST}
3635 fi
36+ echo "=== Checking tarball creation"
37+ nix-build pkgs/top-level/release.nix -A tarball
3738else
3839 echo "$0: Unknown option $1" >&2
3940 false