@@ -21,7 +21,7 @@ env:
23 - mkdir -p ~/.local/bin
23 - mkdir -p ~/.local/bin
24− - 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'
24+ - 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'
25 - export PATH=~/.local/bin:$PATH
25 - export PATH=~/.local/bin:$PATH
26 - stack --version
26 - stack --version
@@ -31,14 +31,12 @@ install:
31 # set up a repo for snapshot testing. Required in ES >= 1.6
31 # set up a repo for snapshot testing. Required in ES >= 1.6
32 - echo "path.repo = [\"/tmp\"]" >> ./elasticsearch-$ESVER/elasticsearch.yml
32 - echo "path.repo = [\"/tmp\"]" >> ./elasticsearch-$ESVER/elasticsearch.yml
33 - ./elasticsearch-$ESVER/bin/elasticsearch &
33 - ./elasticsearch-$ESVER/bin/elasticsearch &
34− # Ensure constant output so we don't sometimes get killed for taking too long to compile without output
35− - while true; do echo "travis pls"; sleep 30; done &
38 - stack setup
36 - stack setup
39 - stack update
37 - stack update
40− - stack build -j1
38+ - stack build -j2 --fast
41− - stack test bloodhound:tests --test-arguments="--qc-max-success 500" --flag bloodhound:$ESFLAG
39+ - travis_wait 45 stack test --fast bloodhound:tests --test-arguments="--qc-max-success 500" --flag bloodhound:$ESFLAG
44 directories:
42 directories: