goes/.travis.yml

32 lines
804 B
YAML

language: go
go:
- 1.5.4
- 1.6.3
- 1.7.1
env:
global:
- GO15VENDOREXPERIMENT=1
matrix:
- ES_VERSION=1.3.4
- ES_VERSION=1.4.4
- ES_VERSION=1.5.2
- ES_VERSION=1.6.0
- ES_VERSION=1.7.0
before_script:
- mkdir ${HOME}/elasticsearch
- wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz
- tar -xzf elasticsearch-${ES_VERSION}.tar.gz -C ${HOME}/elasticsearch
- "echo 'script.groovy.sandbox.enabled: true' >> ${HOME}/elasticsearch/elasticsearch-${ES_VERSION}/config/elasticsearch.yml"
- ${HOME}/elasticsearch/elasticsearch-${ES_VERSION}/bin/elasticsearch >/dev/null &
- sleep 10 # Wait for ES to start up
install:
- go get github.com/Masterminds/glide
- go get github.com/onsi/ginkgo/ginkgo
script:
- make test