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.
 
 
 

26 lines
509 B

  1. language: go
  2. go:
  3. - 1.1
  4. - 1.2
  5. - 1.3
  6. - tip
  7. env:
  8. matrix:
  9. - ES_VERSION=1.0.3
  10. - ES_VERSION=1.1.2
  11. - ES_VERSION=1.2.1
  12. before_script:
  13. - mkdir ${HOME}/elasticsearch
  14. - wget http://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz
  15. - tar -xzf elasticsearch-${ES_VERSION}.tar.gz -C ${HOME}/elasticsearch
  16. - ${HOME}/elasticsearch/elasticsearch-${ES_VERSION}/bin/elasticsearch >/dev/null &
  17. install:
  18. - go get gopkg.in/check.v1
  19. script:
  20. - make test