aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul Bonaud <paul.bonaud@fretlink.com>2020-01-02 13:48:25 +0100
committerPaul Bonaud <paul.bonaud@fretlink.com>2020-01-02 15:41:42 +0100
commitc3564f4773ec33b4d64bad5aeebe1f51c08c6d76 (patch)
treef5d9f8ec9fc155f4caf8c58e9fdda87be25b093e
parent5f23d5909f18ecc5d0af12cdbb1aee44dccf89ca (diff)
downloadansible-kong-app-c3564f4773ec33b4d64bad5aeebe1f51c08c6d76.tar.gz
ansible-kong-app-c3564f4773ec33b4d64bad5aeebe1f51c08c6d76.tar.zst
ansible-kong-app-c3564f4773ec33b4d64bad5aeebe1f51c08c6d76.zip
ci: use latest version of Nix binaries and latest Ansible nix pkgs
-rw-r--r--.travis.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 7bf8ed8..1deea24 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,16 +1,24 @@
1--- 1---
2language: nix 2language: nix
3nix: 2.3.1
4
3 5
4# Use the new container infrastructure 6# Use the new container infrastructure
5sudo: false 7sudo: false
6 8
7install: 9install:
10 # Update nix channels
11 - nix-channel --add https://nixos.org/channels/nixpkgs-19.09-darwin nixpkgs
12 - nix-channel --remove nixpkgs-unstable
13 - nix-channel --update
14
8 # Install ansible 15 # Install ansible
9 - nix-env -i python2.7-ansible python2.7-ansible-lint 16 - nix-env -i ansible ansible-lint
10 - nix-env -if ./dhall-1.26.1.nix 17 - nix-env -if ./dhall-1.26.1.nix
11 18
12 # Check ansible version 19 # Check ansible version
13 - ansible --version 20 - ansible --version
21 - ansible-lint --version
14 22
15 # Create ansible.cfg with correct roles_path 23 # Create ansible.cfg with correct roles_path
16 - printf '[defaults]\nroles_path=../' >ansible.cfg 24 - printf '[defaults]\nroles_path=../' >ansible.cfg