aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 18f19731e53..2fe0352bbc5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,18 @@
image: nixos/nix:latest
-pages:
+stages:
+ - test
+ - deploy
+
+Run tests:
+ stage: test
+ script:
+ - nix-shell tests -A run.all
+ only:
+ - master
+
+Deploy manual:
+ stage: deploy
script:
- mkdir -p ~/.config/nixpkgs
- echo '{ manual.html.enable = true; }' > ~/.config/nixpkgs/home.nix