Skip to content

Commit

Permalink
bump version for module release
Browse files Browse the repository at this point in the history
update travis file for CI on newer go versions
  • Loading branch information
sabhiram committed Nov 13, 2020
1 parent 1f8eb2f commit 72830e4
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 24 deletions.
38 changes: 19 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
language: go

go:
- "1.10"
- tip

- tip
- '1.14'
- '1.13'
- '1.12'
env:
- "PATH=$HOME/gopath/bin:$PATH"

- PATH=$HOME/gopath/bin:$PATH
before_install:
- go get github.com/mitchellh/gox
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi

- go get github.com/mitchellh/gox
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover;
fi
script:
- ./run_tests.sh
- goveralls -coverprofile=coverage.out -service travis-ci -repotoken $COVERALLS_TOKEN
- gox -os="linux darwin windows" -arch="amd64" -output="bin/{{.Dir}}_{{.OS}}_{{.Arch}}" -ldflags "-X main.Rev=`git rev-parse --short HEAD`" -verbose ./...

- "./run_tests.sh"
- goveralls -coverprofile=coverage.out -service travis-ci -repotoken $COVERALLS_TOKEN
- gox -os="linux darwin windows" -arch="amd64" -output="bin/{{.Dir}}_{{.OS}}_{{.Arch}}"
-ldflags "-X main.Rev=`git rev-parse --short HEAD`" -verbose ./...
deploy:
provider: releases
api_key:
secure: K4a0yf/to0CcWM+oSfH0pnisnqO8NAtxDO8mHhL1qyDVioI2w6Vgc6nv2vrnkcAgpE8+kd+a48AG0rSAxr976h1ydmQiwZW9eUJqKoYWJyXy1/w0YCJia61IpDNovdRefaDpsteJ5ZgAlIGwdi7vh5hzdSB8kTLg4aQnVT42GEw=
secure: L8wTBDS3zQO+pniwKEiF6yKzCQ24GMG7Z/O2BIBoHtUW1oXOFkB2BXxvtPFOnHaSFX72hrXSvt1vz7Ijotz9KRO0y6PQD35diycVvPuSbbnU9p9VGhet1OYI3dGphxZPwyT1KYEe3vP8yxhP491JKsnuOVe53jwMZil75BogO8c=
file:
- bin/wol_darwin_amd64
- bin/wol_linux_amd64
- bin/wol_windows_amd64.exe
- bin/wol_darwin_amd64
- bin/wol_linux_amd64
- bin/wol_windows_amd64.exe
skip_cleanup: true
on:
repo: sabhiram/go-wol
tags: true

1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ require (
github.com/coreos/bbolt v1.3.1-coreos.6.0.20180223184059-4f5275f4ebbf
github.com/jessevdk/go-flags v0.0.0-20150816100521-1acbbaff2f34
github.com/sabhiram/go-colorize v0.0.0-20150812051142-e1128a35ae9b
github.com/sabhiram/gover v0.0.0-20180416054921-4b263cfb1bd8 // indirect
github.com/stretchr/testify v0.0.0-20150929183540-2b15294402a8
golang.org/x/sys v0.0.0-20200413165638-669c56c373c4 // indirect
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ github.com/jessevdk/go-flags v0.0.0-20150816100521-1acbbaff2f34 h1:OsL9UGMqb35j8
github.com/jessevdk/go-flags v0.0.0-20150816100521-1acbbaff2f34/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
github.com/sabhiram/go-colorize v0.0.0-20150812051142-e1128a35ae9b h1:q2Rsn7fYW1+mjMx/5fINq2XH8G+shGC+TOr4EpYopcw=
github.com/sabhiram/go-colorize v0.0.0-20150812051142-e1128a35ae9b/go.mod h1:NBc8PFqgx69aTvU7D/y7UHkciTYgWvn50NM0RvpjS4M=
github.com/sabhiram/gover v0.0.0-20180416054921-4b263cfb1bd8 h1:7jk7KSHc2VWqY1F75+0P5yeIupiYQNLcSzm+s6Zhv7M=
github.com/sabhiram/gover v0.0.0-20180416054921-4b263cfb1bd8/go.mod h1:P5xNd813JV+yWbtS+sK+6qoe265E1WsCdAEkf53J7UE=
github.com/stretchr/testify v0.0.0-20150929183540-2b15294402a8 h1:ryzplALtTWkUnRgVkNSsChh81lD3UeYMJ22gPVK/8N0=
github.com/stretchr/testify v0.0.0-20150929183540-2b15294402a8/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
golang.org/x/sys v0.0.0-20180202135801-37707fdb30a5 h1:MF92a0wJ3gzSUVBpjcwdrDr5+klMFRNEEu6Mev4n00I=
Expand Down
10 changes: 5 additions & 5 deletions wol/version_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ package wol

// WARNING: Auto generated version file. Do not edit this file by hand.
// WARNING: go get github.com/sabhiram/gover to manage this file.
// Version: 1.1.2
// Version: 2.0.0
const (
Major = 1
Minor = 1
Patch = 2
Major = 2
Minor = 0
Patch = 0

Version = "1.1.2"
Version = "2.0.0"
)

0 comments on commit 72830e4

Please sign in to comment.