parent
80457e2d60
commit
7b85c8a19f
13
.travis.yml
13
.travis.yml
|
@ -7,11 +7,22 @@ env:
|
||||||
- CACHIX_CACHE=
|
- CACHIX_CACHE=
|
||||||
- NUR_REPO=<YOUR_NUR_REPO_NAME_HERE>
|
- 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:
|
install:
|
||||||
- nix --version
|
- 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 nix-env -i cachix; fi
|
||||||
- if [ -n "${CACHIX_CACHE}" ]; then cachix use "${CACHIX_CACHE}"; fi
|
- if [ -n "${CACHIX_CACHE}" ]; then cachix use "${CACHIX_CACHE}"; fi
|
||||||
|
- nix-channel --add "${NIX_CHANNEL}" nixpkgs
|
||||||
|
- travis_retry nix-channel --update
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- outs=$(nix-build non-broken.nix) && echo Produced $outs
|
- outs=$(nix-build non-broken.nix) && echo Produced $outs
|
||||||
|
|
Loading…
Reference in New Issue