test both 18.03 and unstable

This commit is contained in:
Robin Raymond 2018-04-08 16:54:53 +02:00
parent 52b4733f22
commit 37ba2c656c

View File

@ -1,11 +1,11 @@
language: nix language: nix
env:
NIX_PATH="nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.03.tar.gz"
script: script:
- nix-build tests/intern.nix - NIX_PATH="nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.03.tar.gz" nix-build tests/intern.nix
- nix-build tests/extern.nix - NIX_PATH="nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.03.tar.gz" nix-build tests/extern.nix
- NIX_PATH="nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz" nix-build tests/intern.nix
- NIX_PATH="nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz" nix-build tests/extern.nix
cache: cache:
directories: directories:
- /nix/store - /nix/store
timeout: 600