diff options
author | Saksham Sharma <saksham0808@gmail.com> | 2016-06-02 23:49:50 +0200 |
---|---|---|
committer | Saksham Sharma <saksham0808@gmail.com> | 2016-06-02 23:51:26 +0200 |
commit | 6885b8e9fc3c2db4a9d08ca47ccdc3fdc49678e0 (patch) | |
tree | e031f7b740e5d9a2ffb701dd0e27f67498cf3d83 | |
parent | 529ad5314f5c10f8ad2159db9b63bff8ece666be (diff) | |
download | hakyll-6885b8e9fc3c2db4a9d08ca47ccdc3fdc49678e0.tar.gz |
Move to stack for travis CI testing.
-rw-r--r-- | .travis.yml | 18 |
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 |