https://git.jolheiser.com/nur.git
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
diff --git a/.travis.yml b/.travis.yml index 1aae40fc64bb062fd5bc3b796f3363a23e710ff6..d04a7c1e580a6b5ea10ef2e3b4fc212609cc5198 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,11 +7,22 @@ global: - CACHIX_CACHE= - NUR_REPO=<YOUR_NUR_REPO_NAME_HERE> +matrix: + include: + - env: NIX_CHANNEL=https://nixos.org/channels/nixpkgs-unstable + - env: NIX_CHANNEL=https://nixos.org/channels/nixos-unstable + - env: NIX_CHANNEL=https://nixos.org/channels/nixos-18.03 + # cachix will be introduced in 18.09, so we just allow a failure for now + allow_failures: + - env: NIX_CHANNEL=https://nixos.org/channels/nixos-18.03 + install: - nix --version - - travis_retry nix-channel --update + - if [ -n "${CACHIX_CACHE}" ]; then travis_retry nix-channel --update; fi - if [ -n "${CACHIX_CACHE}" ]; then nix-env -i cachix; fi - if [ -n "${CACHIX_CACHE}" ]; then cachix use "${CACHIX_CACHE}"; fi + - nix-channel --add "${NIX_CHANNEL}" nixpkgs + - travis_retry nix-channel --update script: - outs=$(nix-build non-broken.nix) && echo Produced $outs