From c7df7f6361cb160ae566065aa840cf07975fef92 Mon Sep 17 00:00:00 2001 From: Georges Dubus Date: Thu, 1 Jan 2015 22:16:31 +0100 Subject: [PATCH] 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. --- maintainers/scripts/travis-nox-review-pr.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/maintainers/scripts/travis-nox-review-pr.sh b/maintainers/scripts/travis-nox-review-pr.sh index 1c117c6add9d..9efadab18c01 100755 --- a/maintainers/scripts/travis-nox-review-pr.sh +++ b/maintainers/scripts/travis-nox-review-pr.sh @@ -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