Skip to content

Commit

Permalink
Use gox output param instead of manually moving binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Godsiff committed Mar 10, 2019
1 parent b33fcdc commit 7992aee
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,9 @@ install:
- cd $GOPATH/src/github.com/Masterminds/glide && git checkout v0.13.1 && go install && cd -
- glide install
script:
- gox -os "freebsd darwin linux windows" -arch "386 amd64"
- gox -os "freebsd darwin linux windows" -arch "386 amd64" -output="terraform-provider-elasticsearch_${TRAVIS_TAG}_{{.OS}}_{{.Arch}}"
- wget -q --waitretry=1 --retry-connrefused -T 10 -O - $ELASTICSEARCH_URL
- TF_ACC=1 go test -v -cover
before_deploy: |
# rename to match terraform provider conventions:
# https://www.terraform.io/docs/configuration/providers.html#third-party-plugins
for file in terraform-provider-elasticsearch*; do mv "$file" "${file}_${TRAVIS_TAG}"; done
deploy:
provider: releases
api_key:
Expand Down

0 comments on commit 7992aee

Please sign in to comment.