aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.build.yml11
-rw-r--r--TODOs.org3
2 files changed, 4 insertions, 10 deletions
diff --git a/.build.yml b/.build.yml
index 6794a17..de22d26 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,18 +1,15 @@
-image: debian/stretch
-packages:
- - curl
+image: nixos/unstable
+repositories:
+ nixpkgs: https://nixos.org/channels/nixpkgs-unstable
triggers:
- condition: failure
action: email
- to: EuAndreh <eu@euandre.org>
+ to: EuAndreh <ci@euandre.org>
sources:
- https://git.sr.ht/~euandreh/website
secrets:
- 7159f943-811f-402d-bb6d-37cd764dc728
tasks:
- - setup: |
- curl https://nixos.org/nix/install | sh
- echo '. ~/.nix-profile/etc/profile.d/nix.sh' >> ~/.buildenv
- tests: |
cd website/
nix-build -A test
diff --git a/TODOs.org b/TODOs.org
index 7eb5192..1104fe0 100644
--- a/TODOs.org
+++ b/TODOs.org
@@ -12,6 +12,3 @@ Nested help
** DONE Print usage when no subcommand is provided
CLOSED: [2019-01-01 Tue 19:35]
** Add tests when actually running subcommands
-* CI
-** Improvements
-*** Use NixOS instead of Debian?