summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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