From e20e0470bf1de706fe6cc6e1743537a7737f83fa Mon Sep 17 00:00:00 2001 From: wmertens Date: Wed, 15 Oct 2014 18:50:28 +0200 Subject: travis build: oops Evaluation is too long - shouldn't have removed /dev/nulling I wish I had a travis test environment :sad: --- maintainers/scripts/travis-nox-review-pr.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'maintainers') diff --git a/maintainers/scripts/travis-nox-review-pr.sh b/maintainers/scripts/travis-nox-review-pr.sh index 272961fb752ef..baee1baa11f5e 100755 --- a/maintainers/scripts/travis-nox-review-pr.sh +++ b/maintainers/scripts/travis-nox-review-pr.sh @@ -4,6 +4,7 @@ set -e export NIX_CURL_FLAGS=-sS if [[ $1 == nix ]]; then + echo "=== Installing Nix..." # Install Nix bash <(curl -sS https://nixos.org/nix/install) source $HOME/.nix-profile/etc/profile.d/nix.sh @@ -17,8 +18,10 @@ build-max-jobs = 4 EOF # Verify evaluation - nix-env -f. -qa --json + echo "=== Verifying that nixpkgs evaluates..." + nix-env -f. -qa --json >/dev/null elif [[ $1 == nox ]]; then + echo "=== Installing nox..." git clone -q https://github.com/madjar/nox pip --quiet install -e nox elif [[ $1 == build ]]; then @@ -28,6 +31,7 @@ elif [[ $1 == build ]]; then echo "===> Not a pull request, checking evaluation" nix-build pkgs/top-level/release.nix -A tarball else + echo "=== Checking PR" # The current HEAD is the PR merged into origin/master, so we compare # against origin/master nox-review wip --against origin/master -- cgit 1.4.1