aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorPaul Bonaud <paul.bonaud@fretlink.com>2020-10-05 18:48:57 +0200
committerPaul Bonaud <paul.bonaud@fretlink.com>2020-10-06 13:14:16 +0200
commitce6889c6f90ba5bc4843afb1f4e321866b324ff6 (patch)
treed85822eb6821f86815014e14528668850cc67370 /.travis.yml
parentc8f710598541bc594896c962691173c7f2281c58 (diff)
downloadansible-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.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