summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2016-06-03 15:41:26 +0200
committerJasper Van der Jeugt <jaspervdj@gmail.com>2016-06-03 15:41:26 +0200
commitd4d2dadcc3cde29762f6740cf66ed90095324e6b (patch)
treee031f7b740e5d9a2ffb701dd0e27f67498cf3d83
parent529ad5314f5c10f8ad2159db9b63bff8ece666be (diff)
parent6885b8e9fc3c2db4a9d08ca47ccdc3fdc49678e0 (diff)
downloadhakyll-d4d2dadcc3cde29762f6740cf66ed90095324e6b.tar.gz
Merge pull request #432 from sakshamsharma/master
Move to stack for travis CI testing.
-rw-r--r--.travis.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 7d5fedb..d6d1536 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,2 +1,20 @@
language: haskell
ghc: '7.10'
+branches:
+ only:
+ - master
+cache:
+ directories:
+ - $HOME/.stack
+before_install:
+ - echo "override before_install"
+install:
+ - wget https://github.com/commercialhaskell/stack/releases/download/v1.0.0/stack-1.0.0-linux-x86_64.tar.gz -O stack.gz
+ - tar xvf stack.gz
+ - chmod +x stack-1.0.0-linux-x86_64/stack
+ - stack-1.0.0-linux-x86_64/stack setup
+ - stack-1.0.0-linux-x86_64/stack build
+before_script:
+ - echo "override before_script"
+script:
+ - stack-1.0.0-linux-x86_64/stack test