-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create release on tag starting with v, include built services binary (#…
…61)
- Loading branch information
Showing
2 changed files
with
21 additions
and
3 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,10 +1,24 @@ | ||
language: go | ||
go: 1.13 | ||
go: 1.14 | ||
sudo: false | ||
os: | ||
- linux | ||
- osx | ||
# - windows (would be nice to have, ensure tests pass first before enabling!) | ||
|
||
before_install: | ||
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.24.0 | ||
|
||
script: | ||
- $GOPATH/bin/golangci-lint run | ||
- go test ./... | ||
- go build -o services_$TRAVIS_OS_NAME ./cmd/services | ||
|
||
deploy: | ||
provider: releases | ||
api_key: $GH_TOKEN | ||
file_glob: true | ||
file: services* | ||
skip_cleanup: true | ||
on: | ||
tags: true |
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