File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,14 @@ install:
15
15
- ./elasticsearch-${ES_VERSION}/bin/elasticsearch -Epath.repo=/tmp &
16
16
- export ELASTICSEARCH_URL=http://127.0.0.1:9200
17
17
- export TF_LOG=INFO
18
+ - go get github.com/mitchellh/gox
18
19
- go get -v github.com/Masterminds/glide
19
20
- cd $GOPATH/src/github.com/Masterminds/glide && git checkout v0.13.1 && go install && cd -
20
21
- glide install
21
22
script :
22
- - go build -v
23
+ - gox -os "freebsd darwin linux windows" -arch "386 amd64" -output="terraform-provider-elasticsearch_${TRAVIS_TAG}_{{.OS}}_{{.Arch}}"
23
24
- wget -q --waitretry=1 --retry-connrefused -T 10 -O - $ELASTICSEARCH_URL
24
25
- TF_ACC=1 go test -v -cover
25
- before_deploy : |
26
- # rename to match terraform provider conventions:
27
- # https://www.terraform.io/docs/configuration/providers.html#third-party-plugins
28
- mv terraform-provider-elasticsearch "terraform-provider-elasticsearch_${TRAVIS_TAG}"
29
26
deploy :
30
27
provider : releases
31
28
api_key :
You can’t perform that action at this time.
0 commit comments