diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..843593c --- /dev/null +++ b/.gitlab-ci.yml @@ -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 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 39faf05..0000000 --- a/.travis.yml +++ /dev/null @@ -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