about summary refs log tree commit diff
path: root/.travis.yml
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-09-02T15·38+0100
committerVincent Ambo <tazjin@google.com>2019-09-02T15·38+0100
commit6472b2645cba9819e0c8171e69367916a42f0a1b (patch)
tree6fa34b1e6fd71212bb101932c736c25185398635 /.travis.yml
parent5e9b91a6d208d1db546afdd4aac7e63de938ad9d (diff)
feat: Add Travis CI configuration
Adds a configuration that builds all of my own services and pushes the
resulting closures to Cachix.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 000000000000..eace0ae15bc6
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,10 @@
+language: nix
+env:
+  - NIX_PATH="nixpkgs=${TRAVIS_BUILD_DIR}"
+before_script:
+  - nix-env -f '<nixpkgs>' -iA cachix
+  - cachix use tazjin
+script:
+  # All of my own tools are under the top-level 'tazjin' attribute
+  # set, this command will build all of them.
+  - nix-build -A tazjin | cachix push tazjin