Merge pull request #195 from bitemyapp/194-travis-pls

Add travis output to prevent stalling
This commit is contained in:
Michael Xavier 2017-07-13 08:54:38 -07:00 committed by GitHub
commit 616dc59bdf

View File

@ -1,4 +1,5 @@
sudo: false
language: generic
addons:
apt:
@ -21,9 +22,9 @@ env:
install:
# stack
- mkdir -p ~/.local/bin
- travis_retry curl -L https://github.com/commercialhaskell/stack/releases/download/v1.2.0/stack-1.2.0-linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
- travis_retry curl -L https://github.com/commercialhaskell/stack/releases/download/v1.4.0/stack-1.4.0-linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
- export PATH=~/.local/bin:$PATH
- stack --version
- stack --no-terminal --version
# elasticsearch
- wget --no-check-certificate $DLINK-$ESVER.tar.gz
@ -33,11 +34,17 @@ install:
- ./elasticsearch-$ESVER/bin/elasticsearch &
script:
- stack setup
- stack update
- stack build -j1
- stack test bloodhound:tests --test-arguments="--qc-max-success 500" --flag bloodhound:$ESFLAG
- stack setup --no-terminal
- stack update --no-terminal
- stack build -j2 --fast --no-terminal
- travis_wait 45 sleep 1800 &
- stack test --fast --no-terminal bloodhound:tests --test-arguments="--qc-max-success 500" --flag bloodhound:$ESFLAG
cache:
timeout: 2000
directories:
- $HOME/.cabal
- $HOME/.ghc
- $HOME/.stack
- .stack-work/
apt: true