git.iko.soy/typeable/nixpkgs
on master help sign in
travis build: oops
e20e047wmertens
maintainers/scripts/travis-nox-review-pr.sh+5−1
@@ -4,6 +4,7 @@ set -e
4export NIX_CURL_FLAGS=-sS
4export NIX_CURL_FLAGS=-sS
5
5
6if [[ $1 == nix ]]; then
6if [[ $1 == nix ]]; then
7+ echo "=== Installing Nix..."
7 # Install Nix
8 # Install Nix
8 bash <(curl -sS https://nixos.org/nix/install)
9 bash <(curl -sS https://nixos.org/nix/install)
9 source $HOME/.nix-profile/etc/profile.d/nix.sh
10 source $HOME/.nix-profile/etc/profile.d/nix.sh
@@ -17,8 +18,10 @@ build-max-jobs = 4
17EOF
18EOF
18
19
19 # Verify evaluation
20 # Verify evaluation
21+ echo "=== Verifying that nixpkgs evaluates..."
20− nix-env -f. -qa --json
22+ nix-env -f. -qa --json >/dev/null
21elif [[ $1 == nox ]]; then
23elif [[ $1 == nox ]]; then
24+ echo "=== Installing nox..."
22 git clone -q https://github.com/madjar/nox
25 git clone -q https://github.com/madjar/nox
23 pip --quiet install -e nox
26 pip --quiet install -e nox
24elif [[ $1 == build ]]; then
27elif [[ $1 == build ]]; then
@@ -28,6 +31,7 @@ elif [[ $1 == build ]]; then
28 echo "===> Not a pull request, checking evaluation"
31 echo "===> Not a pull request, checking evaluation"
29 nix-build pkgs/top-level/release.nix -A tarball
32 nix-build pkgs/top-level/release.nix -A tarball
30 else
33 else
34+ echo "=== Checking PR"
31 # The current HEAD is the PR merged into origin/master, so we compare
35 # The current HEAD is the PR merged into origin/master, so we compare
32 # against origin/master
36 # against origin/master
33 nox-review wip --against origin/master
37 nox-review wip --against origin/master