aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml21
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---
2language: nix 2language: nix
3nix: 2.3.1 3nix: 2.3.4
4env:
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
7sudo: false 9before_install:
10 - export NIX_PATH="$CUSTOM_NIX_PATH"
8 11
9install: 12install:
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