nixos-mailserver/.gitlab-ci.yml

48 lines
1.5 KiB
YAML
Raw Normal View History

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:
- 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:
- 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:
- 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:
- 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:
- 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:
- nix-build --arg pkgs 'import tests/lib/pkgs.nokvm.nix' tests/clamav.nix