Setup ci on gitlab

This commit is contained in:
Ruben Maher 2018-11-10 12:35:09 +00:00 committed by Robin Raymond
parent 817d84d36d
commit a4046a1227
2 changed files with 41 additions and 8 deletions

41
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,41 @@
nixos-intern:
image: nixos/nix
variables:
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.03.tar.gz"
script:
- nix-build tests/intern.nix
nixos-extern:
image: nixos/nix
variables:
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.03.tar.gz"
script:
- nix-build tests/extern.nix
nixos-clamav:
image: nixos/nix
variables:
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.03.tar.gz"
script:
- nix-build tests/clamav.nix
nixos-unstable-intern:
image: nixos/nix
variables:
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz"
script:
- nix-build tests/intern.nix
nixos-unstable-extern:
image: nixos/nix
variables:
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz"
script:
- nix-build tests/extern.nix
nixos-unstable-clamav:
image: nixos/nix
variables:
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz"
script:
- nix-build tests/clamav.nix

View File

@ -1,8 +0,0 @@
language: nix
env:
- NIX_PATH="nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.03.tar.gz"
- NIX_PATH="nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz"
script:
- nix-build tests/intern.nix
- nix-build tests/extern.nix
- nix-build tests/clamav.nix