about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-08-04T00·30+0100
committerVincent Ambo <github@tazj.in>2019-08-04T00·41+0100
commit099c99b7ad4fa93d1b5c8b7bfef0416f79edad59 (patch)
tree6855892bd6826fdc6fb7e58ba308c1873183f53c
parenta0d7d693d373569b61597440537bedb1f1384450 (diff)
feat(build): Configure Cachix for build caching in CI
The CI setup is configured with an appropriate key to enable pushes to
the nixery.cachix.org binary cache.
-rw-r--r--tools/nixery/.travis.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/nixery/.travis.yml b/tools/nixery/.travis.yml
index d8cc8efa432a..96f1ec0fc15b 100644
--- a/tools/nixery/.travis.yml
+++ b/tools/nixery/.travis.yml
@@ -1 +1,6 @@
 language: nix
+before_script:
+  - nix-env -iA nixpkgs.cachix
+  - cachix use nixery
+script:
+  - nix-build | cachix push nixery