aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-03-08 21:41:39 +0000
committerYann Herklotz <git@yannherklotz.com>2020-03-08 21:41:39 +0000
commit010d7343133ebe53a472b9d26fdeb509db31d4c9 (patch)
tree1d66a6a7f4d1ee1c52e08e6332f326a1e08b6366 /.travis.yml
parentba8fa15b77dc834a4d6d2c07627ef6c16ad53d0e (diff)
parentfeb21582faab8a30e5e9180420f4449764a11a9b (diff)
downloadverismith-010d7343133ebe53a472b9d26fdeb509db31d4c9.tar.gz
verismith-010d7343133ebe53a472b9d26fdeb509db31d4c9.zip
Merge branch 'master' into develop
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index dd99ef4..8b9190b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,3 +2,18 @@ language: nix # automatically runs nix-build
git:
depth: 3 # not 1 to build commits in the queue
+
+jobs:
+ include:
+ - name: "Cabal build"
+ env: NIX=0
+ - name: "Nix build"
+ env: NIX=1
+
+cache:
+ directories:
+ - $HOME/.cabal
+
+before_script: if [[ $NIX -eq 0 ]]; then nix-env -i cabal-install ghc; fi
+
+script: ./scripts/build.sh