Skip to content

Commit 7992aee

Browse files
author
Josh Godsiff
committed
Use gox output param instead of manually moving binaries
1 parent b33fcdc commit 7992aee

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.travis.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,9 @@ install:
2020
- cd $GOPATH/src/github.com/Masterminds/glide && git checkout v0.13.1 && go install && cd -
2121
- glide install
2222
script:
23-
- gox -os "freebsd darwin linux windows" -arch "386 amd64"
23+
- gox -os "freebsd darwin linux windows" -arch "386 amd64" -output="terraform-provider-elasticsearch_${TRAVIS_TAG}_{{.OS}}_{{.Arch}}"
2424
- wget -q --waitretry=1 --retry-connrefused -T 10 -O - $ELASTICSEARCH_URL
2525
- TF_ACC=1 go test -v -cover
26-
before_deploy: |
27-
# rename to match terraform provider conventions:
28-
# https://www.terraform.io/docs/configuration/providers.html#third-party-plugins
29-
for file in terraform-provider-elasticsearch*; do mv "$file" "${file}_${TRAVIS_TAG}"; done
3026
deploy:
3127
provider: releases
3228
api_key:

0 commit comments

Comments
 (0)