forked from terra-farm/terraform-provider-virtualbox
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changing code style,reconfiguring travis
- Loading branch information
1 parent
86cc0b6
commit 28bd3d6
Showing
4 changed files
with
21 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,8 @@ | ||
sudo: false | ||
|
||
language: go | ||
go: | ||
- 1.9 | ||
|
||
env: | ||
- GIMME_OS=linux GIMME_ARCH=amd64 | ||
- GIMME_OS=darwin GIMME_ARCH=amd64 | ||
- GIMME_OS=windows GIMME_ARCH=amd64 | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
# workaround for travis-ci/gimme#25 to pick up latest version of gimme and run again | ||
before_install: | ||
- curl -o gimme -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | ||
- chmod u+x gimme | ||
- unset GOROOT GOTOOLDIR | ||
- eval "$(./gimme 1.9)" | ||
- go version | ||
- go env | ||
|
||
go: 1.9.1 | ||
install: | ||
- date -u +"%Y-%m-%dT%H:%M:%SZ" | ||
- go get -d -v ./... | ||
|
||
script: | ||
- go build -v -o terraform-provider-virtualbox | ||
- tar czvf terraform-provider-virtualbox_${TRAVIS_TAG}_${GIMME_OS}_${GIMME_ARCH}.tar.gz terraform-provider-virtualbox | ||
|
||
deploy: | ||
# setup with "travis setup releases" | ||
provider: releases | ||
skip_cleanup: true | ||
api_key: | ||
secure: x_replace_via___travis_setup_releases___x | ||
file: terraform-provider-virtualbox_* | ||
file_glob: true | ||
on: | ||
repo: pyToshka/terraform-provider-virtualbox | ||
#all_branches: true | ||
branch: master | ||
tags: true | ||
- go get github.com/mitchellh/gox | ||
- go get github.com/hashicorp/terraform | ||
- go get | ||
- go vet | ||
- gox -os "freebsd darwin linux windows" -arch "386 amd64" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters