-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
021b0ce
commit 80be44e
Showing
19 changed files
with
1,551 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
vendor/ | ||
.idea/ |
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
os: linux | ||
|
||
language: go | ||
|
||
env: | ||
global: | ||
- RELEASE_NUMBER=v1.0.0 | ||
- ARTIFACT_NAME=gokube-$RELEASE_NUMBER+build.$TRAVIS_BUILD_NUMBER.windows.amd64.exe | ||
|
||
go: | ||
- 1.10.x | ||
|
||
go_import_path: github.com/gemalto/gokube | ||
|
||
# Don't email me the results of the test runs. | ||
notifications: | ||
email: true | ||
|
||
before_install: | ||
|
||
install: | ||
|
||
script: | ||
- cd cmd/gokube | ||
- GOOS=windows GOARCH=amd64 go get -t -v ./... | ||
- GOOS=windows GOARCH=amd64 go build -o bin/$ARTIFACT_NAME | ||
- ls -al bin | ||
|
||
before_deploy: | ||
- git config --local user.name "Travis CI" | ||
- git config --local user.email "[email protected]" | ||
- git tag $RELEASE_NUMBER | ||
|
||
deploy: | ||
provider: releases | ||
skip_cleanup: true # Important, otherwise the build output would be purged. | ||
api_key: $GITHUB_API_KEY | ||
file: bin/$ARTIFACT_NAME | ||
on: | ||
repo: gemalto/gokube | ||
tags: true # The deployment happens only if the commit has a tag. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Gopkg.toml example | ||
# | ||
# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html | ||
# for detailed Gopkg.toml documentation. | ||
# | ||
# required = ["github.com/user/thing/cmd/thing"] | ||
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project" | ||
# version = "1.0.0" | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project2" | ||
# branch = "dev" | ||
# source = "github.com/myfork/project2" | ||
# | ||
# [[override]] | ||
# name = "github.com/x/y" | ||
# version = "2.4.0" | ||
# | ||
# [prune] | ||
# non-go = false | ||
# go-tests = true | ||
# unused-packages = true | ||
|
||
|
||
[[constraint]] | ||
name = "github.com/spf13/cobra" | ||
version = "0.0.3" | ||
|
||
[[constraint]] | ||
name = "gopkg.in/cheggaaa/pb.v2" | ||
version = "2.0.6" | ||
|
||
[prune] | ||
go-tests = true | ||
unused-packages = true |
Oops, something went wrong.