Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

10 anos atrás
10 anos atrás
10 anos atrás
10 anos atrás
10 anos atrás
10 anos atrás
10 anos atrás
10 anos atrás
10 anos atrás
12345678910111213141516171819202122232425262728293031323334
  1. language: go
  2. addons:
  3. apt:
  4. packages:
  5. - oracle-java8-set-default
  6. go:
  7. - 1.6.4
  8. - 1.7.5
  9. env:
  10. global:
  11. - JAVA_HOME=/usr/lib/jvm/java-8-oracle
  12. matrix:
  13. - ES_VERSION=1.7.5 ES_URL=https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.5.tar.gz
  14. - ES_VERSION=2.4.4 ES_URL=https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.4.4/elasticsearch-2.4.4.tar.gz
  15. - ES_VERSION=5.2.0 ES_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.2.0.tar.gz
  16. before_script:
  17. - java -version
  18. - echo $JAVA_HOME
  19. - mkdir ${HOME}/elasticsearch
  20. - wget $ES_URL
  21. - tar -xzf elasticsearch-${ES_VERSION}.tar.gz -C ${HOME}/elasticsearch
  22. - "echo 'script.inline: true' >> ${HOME}/elasticsearch/elasticsearch-${ES_VERSION}/config/elasticsearch.yml"
  23. - ${HOME}/elasticsearch/elasticsearch-${ES_VERSION}/bin/elasticsearch &
  24. - wget --retry-connrefused http://127.0.0.1:9200/ # Wait for ES to start up
  25. install:
  26. - go get github.com/Masterminds/glide
  27. script:
  28. - make test