ci: fix Travis CI builds

* run the ./build after setting the NIX_PATH. Previously the images
  were always generate with the system channel. Oops!
* pin the outer shell version to nixos-19.09. skopeo broke in unstable.
  also we don't need to force the system here, technically this could
  run on macOS.
This commit is contained in:
zimbatm 2020-02-09 16:23:27 +01:00
parent e58ed5052b
commit 6597ff1349
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
3 changed files with 15 additions and 10 deletions

View file

@ -6,10 +6,10 @@ matrix:
include:
- name: nixos-unstable
env: NIXPKGS_CHANNEL=nixos-unstable IMAGE_TAG=latest
- name: nixos-19.03
env: NIXPKGS_CHANNEL=nixos-19.03
- name: nixos-19.09
env: NIXPKGS_CHANNEL=nixos-19.09
- name: nixos-19.03
env: NIXPKGS_CHANNEL=nixos-19.03
script:
- nix-shell --run ./.travis.sh