Skip to content

Commit

Permalink
travis: install hydra-cli from nixpkgs!
Browse files Browse the repository at this point in the history
  • Loading branch information
nlewo committed Oct 10, 2019
1 parent e2b22a4 commit 0185808
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ matrix:
nix: 2.2.2
if: type = pull_request
script:
- nix-channel --add https://hydra.nix.corp.cloudwatt.com/project/hydra-cli/channel/latest
- nix-channel --update
- nix-env -i rust_hydra-cli-0.2.0 --option binary-caches https://cache.nix.corp.cloudwatt.com --option trusted-public-keys 'cache.nix.cloudwatt.com:ApPt6XtZeOQ3hNRTSBQx+m6rd8p04G0DQwz0bZfVPL8='
# This is because the unstable channel has not been updated yet
- nix-env -f https://github.com/NixOS/nixpkgs/archive/1f5fa9a8298ec7411431da981b4f1a79e10f2a8e.tar.gz -i hydra-cli
- hydra-cli -H https://hydra.nix.corp.cloudwatt.com jobset-wait hydra-cli $TRAVIS_PULL_REQUEST
- language: rust
rust:
Expand Down

0 comments on commit 0185808

Please sign in to comment.