You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

31 lines
763 B

  1. language: go
  2. go:
  3. - 1.5.4
  4. - 1.6.3
  5. - 1.7.1
  6. env:
  7. global:
  8. - GO15VENDOREXPERIMENT=1
  9. matrix:
  10. - ES_VERSION=1.3.4
  11. - ES_VERSION=1.4.4
  12. - ES_VERSION=1.5.2
  13. - ES_VERSION=1.6.0
  14. - ES_VERSION=1.7.0
  15. before_script:
  16. - mkdir ${HOME}/elasticsearch
  17. - wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz
  18. - tar -xzf elasticsearch-${ES_VERSION}.tar.gz -C ${HOME}/elasticsearch
  19. - "echo 'script.groovy.sandbox.enabled: true' >> ${HOME}/elasticsearch/elasticsearch-${ES_VERSION}/config/elasticsearch.yml"
  20. - ${HOME}/elasticsearch/elasticsearch-${ES_VERSION}/bin/elasticsearch >/dev/null &
  21. - sleep 10 # Wait for ES to start up
  22. install:
  23. - go get github.com/Masterminds/glide
  24. script:
  25. - make test