Skip to content

Commit 649fd89

Browse files
committed
Build with Go 1.9 and bump to 0.5.11
1 parent f18a871 commit 649fd89

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.travis.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ go:
33
- 1.5.4
44
- 1.6.4
55
- 1.7.5
6-
- 1.8
6+
- 1.8.3
7+
- 1.9
78
- tip
89
os:
910
- linux
@@ -17,10 +18,10 @@ script:
1718
- go test -i -race ./...
1819
- go test -v -race ./...
1920
after_script:
20-
- if [ "$TRAVIS_GO_VERSION" = "1.8" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go get github.com/inconshreveable/mousetrap; fi
21-
- if [ "$TRAVIS_GO_VERSION" = "1.8" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go get github.com/mitchellh/gox; fi
22-
- if [ "$TRAVIS_GO_VERSION" = "1.8" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go get github.com/tcnksm/ghr; fi
23-
- if [ "$TRAVIS_GO_VERSION" = "1.8" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then make compile; ghr --username zquestz --token $GITHUB_TOKEN --replace $TRAVIS_TAG pkg/; fi
21+
- if [ "$TRAVIS_GO_VERSION" = "1.9" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go get github.com/inconshreveable/mousetrap; fi
22+
- if [ "$TRAVIS_GO_VERSION" = "1.9" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go get github.com/mitchellh/gox; fi
23+
- if [ "$TRAVIS_GO_VERSION" = "1.9" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go get github.com/tcnksm/ghr; fi
24+
- if [ "$TRAVIS_GO_VERSION" = "1.9" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then make compile; ghr --username zquestz --token $GITHUB_TOKEN --replace $TRAVIS_TAG pkg/; fi
2425
notifications:
2526
webhooks:
2627
urls:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ s is released under the MIT license.
332332
[ReportCard-Image]: https://goreportcard.com/badge/github.com/zquestz/s
333333
[Build-Status-URL]: http://travis-ci.org/zquestz/s
334334
[Build-Status-Image]: https://travis-ci.org/zquestz/s.svg?branch=master
335-
[Release-URL]: https://github.com/zquestz/s/releases/tag/v0.5.10
336-
[Release-Image]: http://img.shields.io/badge/release-v0.5.10-1eb0fc.svg
335+
[Release-URL]: https://github.com/zquestz/s/releases/tag/v0.5.11
336+
[Release-Image]: http://img.shields.io/badge/release-v0.5.11-1eb0fc.svg
337337
[Chat-Image]: https://badges.gitter.im/zquestz/s.svg
338338
[Chat-URL]: https://gitter.im/zquestz/s?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

cmd/search.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
const (
1616
appName = "s"
17-
version = "0.5.10"
17+
version = "0.5.11"
1818
defaultPort = 8080
1919
defaultProvider = "google"
2020
)

0 commit comments

Comments
 (0)