diff options
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 |