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
env:
NIX_PATH="nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.03.tar.gz"
script:
- 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/intern.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:
directories:
- /nix/store
timeout: 600