diff options
author | Paul Bonaud <paul.bonaud@fretlink.com> | 2019-11-25 15:05:51 +0100 |
---|---|---|
committer | Paul Bonaud <paul.bonaud@fretlink.com> | 2019-11-26 17:04:18 +0100 |
commit | df5fbccecea56d40f97f2c23d913bf911c453087 (patch) | |
tree | 1d3b21a25927d79b8fb2fe5bbfe78b410a408f5e | |
parent | 417bbfa3343e6116cf240db82b718117b3500abc (diff) | |
download | ansible-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.yml | 8 |
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 | --- |
2 | language: nix | ||
3 | |||
4 | sudo: false | 2 | sudo: false |
3 | language: nix | ||
4 | nix: 2.2.1 | ||
5 | env: | ||
6 | - NIX_PATH=nixpkgs=channel:nixos-19.09 | ||
5 | 7 | ||
6 | install: | 8 | install: |
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 |