2019-07-01 19:32:30 +02:00
|
|
|
before_script:
|
|
|
|
# report CPU info so we can monitor if real KVM becomes available. create /dev/kvm to fool nix
|
|
|
|
- cat /proc/cpuinfo
|
|
|
|
- ls -l /dev/kvm || true
|
|
|
|
- touch /dev/kvm
|
|
|
|
|
2018-11-10 13:35:09 +01:00
|
|
|
nixos-intern:
|
|
|
|
image: nixos/nix
|
|
|
|
variables:
|
2019-05-03 14:13:11 +02:00
|
|
|
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz"
|
2018-11-10 13:35:09 +01:00
|
|
|
script:
|
2019-07-01 19:32:30 +02:00
|
|
|
- nix-build --arg pkgs 'import tests/lib/pkgs.nokvm.nix' tests/intern.nix
|
2018-11-10 13:35:09 +01:00
|
|
|
|
|
|
|
nixos-extern:
|
|
|
|
image: nixos/nix
|
|
|
|
variables:
|
2019-05-03 14:13:11 +02:00
|
|
|
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz"
|
2018-11-10 13:35:09 +01:00
|
|
|
script:
|
2019-07-01 19:32:30 +02:00
|
|
|
- nix-build --arg pkgs 'import tests/lib/pkgs.nokvm.nix' tests/extern.nix
|
2018-11-10 13:35:09 +01:00
|
|
|
|
|
|
|
nixos-clamav:
|
|
|
|
image: nixos/nix
|
|
|
|
variables:
|
2019-05-03 14:13:11 +02:00
|
|
|
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz"
|
2018-11-10 13:35:09 +01:00
|
|
|
script:
|
2019-07-01 19:32:30 +02:00
|
|
|
- nix-build --arg pkgs 'import tests/lib/pkgs.nokvm.nix' tests/clamav.nix
|
2018-11-10 13:35:09 +01:00
|
|
|
|
|
|
|
nixos-unstable-intern:
|
|
|
|
image: nixos/nix
|
|
|
|
variables:
|
|
|
|
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz"
|
|
|
|
script:
|
2019-07-01 19:32:30 +02:00
|
|
|
- nix-build --arg pkgs 'import tests/lib/pkgs.nokvm.nix' tests/intern.nix
|
2018-11-10 13:35:09 +01:00
|
|
|
|
|
|
|
nixos-unstable-extern:
|
|
|
|
image: nixos/nix
|
|
|
|
variables:
|
|
|
|
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz"
|
|
|
|
script:
|
2019-07-01 19:32:30 +02:00
|
|
|
- nix-build --arg pkgs 'import tests/lib/pkgs.nokvm.nix' tests/extern.nix
|
2018-11-10 13:35:09 +01:00
|
|
|
|
|
|
|
nixos-unstable-clamav:
|
|
|
|
image: nixos/nix
|
|
|
|
variables:
|
|
|
|
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz"
|
|
|
|
script:
|
2019-07-01 19:32:30 +02:00
|
|
|
- nix-build --arg pkgs 'import tests/lib/pkgs.nokvm.nix' tests/clamav.nix
|