git.iko.soy/typeable/bloodhound
on master help sign in
Newer Stack, j2, fast build, travis_wait
commit5020f716a541e69163e39150659f17b44410cf22 authorChris Allen <cma@bitemyapp.com> dateThu 13 Jul 2017, 00:23 (9 years ago) parenta828dde
1 file changed+3−5
.travis.yml+3−5
.travis.yml+3−5
@@ -21,7 +21,7 @@ env:
2121install:
2222 # stack
2323 - 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'
2525 - export PATH=~/.local/bin:$PATH
2626 - stack --version
2727
@@ -31,14 +31,12 @@ install:
3131 # set up a repo for snapshot testing. Required in ES >= 1.6
3232 - echo "path.repo = [\"/tmp\"]" >> ./elasticsearch-$ESVER/elasticsearch.yml
3333 - ./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 &
3634
3735script:
3836 - stack setup
3937 - stack update
40− - stack build -j1
41− - stack test bloodhound:tests --test-arguments="--qc-max-success 500" --flag bloodhound:$ESFLAG
38+ - stack build -j2 --fast
39+ - travis_wait 45 stack test --fast bloodhound:tests --test-arguments="--qc-max-success 500" --flag bloodhound:$ESFLAG
4240
4341cache:
4442 directories: