aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-05-06 01:05:35 -0300
committerEuAndreh <eu@euandre.org>2019-05-19 01:18:31 -0300
commit6959f1930bbf71690c3b2e6d0deed3629ff0fee4 (patch)
tree22a41fb5d12f1ba6d52396509487f0c70fa40774 /.build.yml
parentPrint CLI errors using Term::ANSIColor. (diff)
downloadeuandre.org-6959f1930bbf71690c3b2e6d0deed3629ff0fee4.tar.gz
euandre.org-6959f1930bbf71690c3b2e6d0deed3629ff0fee4.tar.xz
Use NixOS instead of Debian of CI build OS.
Diffstat (limited to '')
-rw-r--r--.build.yml11
1 files changed, 4 insertions, 7 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