Run tests on 19.03 + 19.09 + unstable
This commit is contained in:
parent
5c6b6287d6
commit
9dae3d2cdc
1 changed files with 52 additions and 35 deletions
|
@ -1,47 +1,64 @@
|
||||||
|
.template:
|
||||||
|
image: nixos/nix
|
||||||
before_script:
|
before_script:
|
||||||
# report CPU info so we can monitor if real KVM becomes available. create /dev/kvm to fool nix
|
# report CPU info so we can monitor if real KVM becomes available. create /dev/kvm to fool nix
|
||||||
- cat /proc/cpuinfo
|
- cat /proc/cpuinfo
|
||||||
- ls -l /dev/kvm || true
|
- ls -l /dev/kvm || true
|
||||||
- touch /dev/kvm
|
- touch /dev/kvm
|
||||||
|
|
||||||
nixos-intern:
|
|
||||||
image: nixos/nix
|
|
||||||
variables:
|
|
||||||
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz"
|
|
||||||
script:
|
script:
|
||||||
- nix-build --arg pkgs 'import tests/lib/pkgs.nokvm.nix' tests/intern.nix
|
- export NIX_PATH="nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-${VERSION}.tar.gz"
|
||||||
|
- nix-build --arg pkgs 'import tests/lib/pkgs.nokvm.nix' tests/${SUITE}.nix
|
||||||
|
|
||||||
nixos-extern:
|
19-03-intern:
|
||||||
image: nixos/nix
|
extends: .template
|
||||||
variables:
|
variables:
|
||||||
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz"
|
VERSION: "19.03"
|
||||||
script:
|
SUITE: "intern"
|
||||||
- nix-build --arg pkgs 'import tests/lib/pkgs.nokvm.nix' tests/extern.nix
|
|
||||||
|
|
||||||
nixos-clamav:
|
19-03-extern:
|
||||||
image: nixos/nix
|
extends: .template
|
||||||
variables:
|
variables:
|
||||||
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz"
|
VERSION: "19.03"
|
||||||
script:
|
SUITE: "extern"
|
||||||
- nix-build --arg pkgs 'import tests/lib/pkgs.nokvm.nix' tests/clamav.nix
|
|
||||||
|
|
||||||
nixos-unstable-intern:
|
19-03-clamav:
|
||||||
image: nixos/nix
|
extends: .template
|
||||||
variables:
|
variables:
|
||||||
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz"
|
VERSION: "19.03"
|
||||||
script:
|
SUITE: "clamav"
|
||||||
- nix-build --arg pkgs 'import tests/lib/pkgs.nokvm.nix' tests/intern.nix
|
|
||||||
|
|
||||||
nixos-unstable-extern:
|
19-09-intern:
|
||||||
image: nixos/nix
|
extends: .template
|
||||||
variables:
|
variables:
|
||||||
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz"
|
VERSION: "19.09"
|
||||||
script:
|
SUITE: "intern"
|
||||||
- nix-build --arg pkgs 'import tests/lib/pkgs.nokvm.nix' tests/extern.nix
|
|
||||||
|
|
||||||
nixos-unstable-clamav:
|
19-09-extern:
|
||||||
image: nixos/nix
|
extends: .template
|
||||||
variables:
|
variables:
|
||||||
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz"
|
VERSION: "19.09"
|
||||||
script:
|
SUITE: "extern"
|
||||||
- nix-build --arg pkgs 'import tests/lib/pkgs.nokvm.nix' tests/clamav.nix
|
|
||||||
|
19-09-clamav:
|
||||||
|
extends: .template
|
||||||
|
variables:
|
||||||
|
VERSION: "19.09"
|
||||||
|
SUITE: "clamav"
|
||||||
|
|
||||||
|
unstable-intern:
|
||||||
|
extends: .template
|
||||||
|
variables:
|
||||||
|
VERSION: "unstable"
|
||||||
|
SUITE: "intern"
|
||||||
|
|
||||||
|
unstable-extern:
|
||||||
|
extends: .template
|
||||||
|
variables:
|
||||||
|
VERSION: "unstable"
|
||||||
|
SUITE: "extern"
|
||||||
|
|
||||||
|
unstable-clamav:
|
||||||
|
extends: .template
|
||||||
|
variables:
|
||||||
|
VERSION: "unstable"
|
||||||
|
SUITE: "clamav"
|
||||||
|
|
Loading…
Reference in a new issue