Move to stack for travis CI testing.
This commit is contained in:
parent
529ad5314f
commit
6885b8e9fc
1 changed files with 18 additions and 0 deletions
18
.travis.yml
18
.travis.yml
|
@ -1,2 +1,20 @@
|
||||||
language: haskell
|
language: haskell
|
||||||
ghc: '7.10'
|
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
|
||||||
|
|
Loading…
Reference in a new issue