diff options
author | Paul Bonaud <paul.bonaud@fretlink.com> | 2020-06-19 17:37:16 +0200 |
---|---|---|
committer | Paul Bonaud <paul.bonaud@fretlink.com> | 2020-06-22 15:40:01 +0200 |
commit | 3d17c5eb5948d7297112599a9ea852b5853b3260 (patch) | |
tree | f61e2238d3327073a6bae436cc63fcc36065b9cc /.travis.yml | |
parent | e6428dceebd07b90c01b8d187a16db9772cbfdff (diff) | |
download | ansible-clever-3d17c5eb5948d7297112599a9ea852b5853b3260.tar.gz ansible-clever-3d17c5eb5948d7297112599a9ea852b5853b3260.tar.zst ansible-clever-3d17c5eb5948d7297112599a9ea852b5853b3260.zip |
core: define nix env for travis with a unique default.nix file
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index d287c26..92f6295 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -1,13 +1,12 @@ | |||
1 | --- | 1 | --- |
2 | sudo: false | 2 | sudo: false |
3 | language: nix | 3 | language: nix |
4 | nix: 2.2.1 | 4 | nix: 2.3.4 |
5 | env: | 5 | env: |
6 | - NIX_PATH=nixpkgs=channel:nixos-19.09 | 6 | - NIX_PATH=nixpkgs=channel:nixos-20.03 |
7 | 7 | ||
8 | install: | 8 | install: |
9 | - nix-env -iA pkgs.python37Packages.ansible-lint pkgs.python37Packages.ansible pkgs.shellcheck -f '<nixpkgs>' | 9 | - nix-env -i -f ./default.nix |
10 | - nix-env -if ./dhall-1.26.1.nix | ||
11 | 10 | ||
12 | # Check ansible version | 11 | # Check ansible version |
13 | - ansible --version | 12 | - ansible --version |