tools: enable travis CI build test on github push
A preliminary config, from cloud-haskell via the stack wiki.
This commit is contained in:
parent
2c16dded6e
commit
0aafee1396
19
.travis.yml
Normal file
19
.travis.yml
Normal file
@ -0,0 +1,19 @@
|
||||
language: haskell
|
||||
|
||||
sudo: false
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.stack/
|
||||
|
||||
before_install:
|
||||
- mkdir -p ~/.local/bin
|
||||
- export PATH=~/.local/bin:$PATH
|
||||
- travis_retry curl -L https://github.com/commercialhaskell/stack/releases/download/v0.1.1.0/stack-0.1.1.0-x86_64-linux.gz | gunzip > ~/.local/bin/stack
|
||||
- chmod a+x ~/.local/bin/stack
|
||||
|
||||
install:
|
||||
- stack setup --no-terminal
|
||||
- stack build --only-snapshot --no-terminal
|
||||
|
||||
script:
|
||||
- stack build --no-terminal
|
||||
Loading…
Reference in New Issue
Block a user