From df5fbccecea56d40f97f2c23d913bf911c453087 Mon Sep 17 00:00:00 2001 From: Paul Bonaud Date: Mon, 25 Nov 2019 15:05:51 +0100 Subject: 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). --- .travis.yml | 8 +++++--- 1 file 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 @@ --- -language: nix - sudo: false +language: nix +nix: 2.2.1 +env: + - NIX_PATH=nixpkgs=channel:nixos-19.09 install: - - nix-env -i python2.7-ansible python2.7-ansible-lint ShellCheck-0.7.0 + - nix-env -iA pkgs.python37Packages.ansible-lint pkgs.python37Packages.ansible pkgs.shellcheck -f '' - nix-env -if ./dhall-1.26.1.nix # Check ansible version -- cgit v1.2.3