diff options
author | Paul Bonaud <paul.bonaud@fretlink.com> | 2020-10-05 18:48:57 +0200 |
---|---|---|
committer | Paul Bonaud <paul.bonaud@fretlink.com> | 2020-10-06 13:14:16 +0200 |
commit | ce6889c6f90ba5bc4843afb1f4e321866b324ff6 (patch) | |
tree | d85822eb6821f86815014e14528668850cc67370 /.travis.yml | |
parent | c8f710598541bc594896c962691173c7f2281c58 (diff) | |
download | ansible-kong-app-ce6889c6f90ba5bc4843afb1f4e321866b324ff6.tar.gz ansible-kong-app-ce6889c6f90ba5bc4843afb1f4e321866b324ff6.tar.zst ansible-kong-app-ce6889c6f90ba5bc4843afb1f4e321866b324ff6.zip |
travis: use recent nixpkgs channel (20.09) to install dependencies
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml index 6c68012..6c36f0a 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -1,20 +1,17 @@ | |||
1 | --- | 1 | --- |
2 | language: nix | 2 | language: nix |
3 | nix: 2.3.1 | 3 | nix: 2.3.4 |
4 | env: | ||
5 | - CUSTOM_NIX_PATH=nixpkgs=channel:nixos-20.09 | ||
4 | 6 | ||
5 | 7 | # Travis nix integration will install nix AFTER the environment variables are set | |
6 | # Use the new container infrastructure | 8 | # and the nix installer will overide NIX_PATH variable thus we need to re-export it |
7 | sudo: false | 9 | before_install: |
10 | - export NIX_PATH="$CUSTOM_NIX_PATH" | ||
8 | 11 | ||
9 | install: | 12 | install: |
10 | # Update nix channels | 13 | # Install dependencies |
11 | - nix-channel --add https://nixos.org/channels/nixpkgs-19.09-darwin nixpkgs | 14 | - nix-env -i -f ./default.nix |
12 | - nix-channel --remove nixpkgs-unstable | ||
13 | - nix-channel --update | ||
14 | |||
15 | # Install ansible | ||
16 | - nix-env -i python3 ansible ansible-lint | ||
17 | - nix-env -if ./dhall-1.34.0.nix | ||
18 | 15 | ||
19 | # Check ansible version | 16 | # Check ansible version |
20 | - ansible --version | 17 | - ansible --version |