bloodhound/.travis.yml
Michael Xavier 8a66203662 Deprecate es 1.2.4 for tests
I could either do this or disable snapshot restore testing on 1.2, but
the ES website doesn't even *keep* docs on es 1.2 anymore so I can't
really find out how the API differs. I figure that's a fairly strong
signal that we could just not support that version offically anymore.
2016-07-29 15:03:04 -07:00

45 lines
1.2 KiB
YAML

sudo: false
addons:
apt:
packages:
- libgmp-dev
- openjdk-6-jre
env:
# - GHCVER=7.6.3 ESVER=1.6.0 # Deprecated
# - GHCVER=7.8.3 ESVER=1.0.3 # Deprecated
# - GHCVER=7.8.3 ESVER=1.1.2 # Deprecated
# - GHCVER=7.8 ESVER=1.2.4 # deprecated
- GHCVER=7.8 ESVER=1.3.6
- GHCVER=7.8 ESVER=1.4.1
- GHCVER=7.10 ESVER=1.5.2
- GHCVER=7.10 ESVER=1.6.0
- GHCVER=7.10 ESVER=1.7.2
install:
# stack
- export STACK_YAML=stack-$GHCVER.yaml
- mkdir -p ~/.local/bin
- travis_retry curl -L https://github.com/commercialhaskell/stack/releases/download/v0.1.4.0/stack-0.1.4.0-x86_64-linux.tar.gz | tar -xvzf -
- mv stack ~/.local/bin
- export PATH=~/.local/bin:$PATH
- stack --version
# elasticsearch
- wget --no-check-certificate https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-$ESVER.tar.gz
- tar xzf elasticsearch-$ESVER.tar.gz
# set up a repo for snapshot testing. Required in ES >= 1.6
- echo "path.repo = [\"/tmp\"]" >> ./elasticsearch-$ESVER/elasticsearch.yml
- ./elasticsearch-$ESVER/bin/elasticsearch &
script:
- stack setup
- stack update
- stack build
- stack test
cache:
directories:
- $HOME/.stack