aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul Bonaud <paul.bonaud@fretlink.com>2019-11-25 15:05:51 +0100
committerPaul Bonaud <paul.bonaud@fretlink.com>2019-11-26 17:04:18 +0100
commitdf5fbccecea56d40f97f2c23d913bf911c453087 (patch)
tree1d3b21a25927d79b8fb2fe5bbfe78b410a408f5e
parent417bbfa3343e6116cf240db82b718117b3500abc (diff)
downloadansible-clever-df5fbccecea56d40f97f2c23d913bf911c453087.tar.gz
ansible-clever-df5fbccecea56d40f97f2c23d913bf911c453087.tar.zst
ansible-clever-df5fbccecea56d40f97f2c23d913bf911c453087.zip
ci: fix nix version and nix channel version
In order to avoid having bad surprises with automatic updates let's fix the nix channel version. For now the default travis behavior is to use `nixpkgs-unstable` (see https://docs.travis-ci.com/user/languages/nix#overview).
-rw-r--r--.travis.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 4f5d09c..22e80b3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,12 @@
1--- 1---
2language: nix
3
4sudo: false 2sudo: false
3language: nix
4nix: 2.2.1
5env:
6 - NIX_PATH=nixpkgs=channel:nixos-19.09
5 7
6install: 8install:
7 - nix-env -i python2.7-ansible python2.7-ansible-lint ShellCheck-0.7.0 9 - nix-env -iA pkgs.python37Packages.ansible-lint pkgs.python37Packages.ansible pkgs.shellcheck -f '<nixpkgs>'
8 - nix-env -if ./dhall-1.26.1.nix 10 - nix-env -if ./dhall-1.26.1.nix
9 11
10 # Check ansible version 12 # Check ansible version