From a4046a1227260dbacb1b0abe6750374628cfe9ce Mon Sep 17 00:00:00 2001 From: Ruben Maher Date: Sat, 10 Nov 2018 12:35:09 +0000 Subject: [PATCH] Setup ci on gitlab --- .gitlab-ci.yml | 41 +++++++++++++++++++++++++++++++++++++++++ .travis.yml | 8 -------- 2 files changed, 41 insertions(+), 8 deletions(-) create mode 100644 .gitlab-ci.yml delete mode 100644 .travis.yml 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