We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be9c1b0 commit d0e67e6Copy full SHA for d0e67e6
.travis.yml
@@ -3,12 +3,17 @@ go:
3
- 1.x
4
install:
5
- go get github.com/Masterminds/glide
6
+ - go get github.com/mitchellh/gox
7
+ - go get github.com/tcnksm/ghr
8
- glide install
9
before_script:
- - cd cmd/semantic-release/ && go build && cd ../../
10
+ - go build ./cmd/semantic-release/
11
script:
12
- go test -v $(glide novendor)
13
after_success:
- - ./cmd/semantic-release/semantic-release -dry
14
+ - ./semantic-release -ghr -vf -dry
15
+ - export VERSION=$(cat .version)
16
+ - gox -os="linux darwin windows openbsd" -ldflags="-s -w -X main.SRVERSION=$VERSION" -output="bin/{{.Dir}}_v"$VERSION"_{{.OS}}_{{.Arch}}" ./cmd/semantic-release/
17
+ - ghr $(cat .ghr) bin/
18
notifications:
19
email: false
0 commit comments