git.iko.soy/typeable/bloodhound
on c5603ff help sign in
typeable/bloodhound/.travis.yml
43 lines 1.2 kB history raw
1sudo: false
2language: generic
4jdk:
5 - oraclejdk11
7addons:
8 apt:
9 packages:
10 - libgmp-dev
12env:
13 matrix:
14 - GHCVER=8.6 ESVER=5.6.0 STACK_YAML=stack.yaml DLINK=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch ES_JAVA_OPTS="-Xms500m -Xmx750m"
16install:
17 # stack
18 - mkdir -p ~/.local/bin
19 - travis_retry curl -L https://github.com/commercialhaskell/stack/releases/download/v2.1.3/stack-2.1.3-linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
20 - export PATH=~/.local/bin:$PATH
21 - stack --no-terminal --version
22 # elasticsearch
23 - wget --no-check-certificate $DLINK-$ESVER.tar.gz
24 - tar xzf elasticsearch-$ESVER.tar.gz
25 # set up a repo for snapshot testing. Required in ES >= 1.6
26 - echo "path.repo = [\"/tmp\"]" >> ./elasticsearch-$ESVER/elasticsearch.yml
27 - ./elasticsearch-$ESVER/bin/elasticsearch &
29script:
30 - stack setup --no-terminal
31 - stack update --no-terminal
32 - stack build -j2 --fast --no-terminal
33 - travis_wait 60 sleep 1800 &
34 - stack test --fast --no-terminal bloodhound:bloodhound-tests --test-arguments="--qc-max-success 500"
36cache:
37 timeout: 1500
38 directories:
39 - $HOME/.cabal
40 - $HOME/.ghc
41 - $HOME/.stack
42 - .stack-work/
43 apt: true