git.iko.soy/typeable/nixpkgs
on master help sign in
travis build: Revert silly idea

nox-review should review against master, it's travis that should check out a hydra-available master commit to set the PR on. Perhaps we could rebase the current HEAD on the hydra-built commitish instead?

commitb084b3937580857d0f47e2c44a1c844c58c527c7 authorwmertens <Wout.Mertens@gmail.com> dateWed 15 Oct 2014, 18:45 (12 years ago) parent0100e79
1 file changed+3−6
maintainers/scripts/travis-nox-review-pr.sh+3−6
maintainers/scripts/travis-nox-review-pr.sh+3−6
@@ -5,7 +5,7 @@ export NIX_CURL_FLAGS=-sS
55
66if [[ $1 == nix ]]; then
77 # Install Nix
8− bash <(curl -sS https://nixos.org/nix/install) >/dev/null 2>&1
8+ bash <(curl -sS https://nixos.org/nix/install)
99 source $HOME/.nix-profile/etc/profile.d/nix.sh
1010
1111 # Make sure we can use hydra's binary cache
@@ -17,7 +17,7 @@ build-max-jobs = 4
1717EOF
1818
1919 # Verify evaluation
20− nix-env -f. -qa --json >/dev/null
20+ nix-env -f. -qa --json
2121elif [[ $1 == nox ]]; then
2222 git clone -q https://github.com/madjar/nox
2323 pip --quiet install -e nox
@@ -30,10 +30,7 @@ elif [[ $1 == build ]]; then
3030 else
3131 # The current HEAD is the PR merged into origin/master, so we compare
3232 # against origin/master
33− # However, since we want to optimize build time, we compare against
34− # the last commit Hydra compiled
35− built_rev=$(ls -l $HOME/.nix-defexpr/channels/nixpkgs | sed 's/.*\.\(.*\)\/nixpkgs/\1/')
36− nox-review wip --against $built_rev
33+ nox-review wip --against origin/master
3734 fi
3835else
3936 echo "$0: Unknown option $1" >&2