Skip to content

Commit 2bed797

Browse files
author
Jakub Knejzlik
committed
Use explicit go version
1 parent 8b245ca commit 2bed797

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
language: go
22

3+
go:
4+
- "1.10"
5+
36
services:
47
- docker
58

@@ -11,8 +14,7 @@ script:
1114
- make build tag push
1215

1316
after_success:
14-
- env
15-
- if [ "${TRAVIS_TAG}" != "" ] && [ "${TRAVIS_GO_VERSION}" == "1.7" ]; then gox -output "dist/{{.Dir}}-{{.OS}}-{{.Arch}}";fi
17+
- if [ "${TRAVIS_TAG}" != "" ] && [ "${TRAVIS_GO_VERSION}" == "1.10" ]; then gox -output "dist/{{.Dir}}-{{.OS}}-{{.Arch}}";fi
1618

1719
deploy:
1820
provider: releases

0 commit comments

Comments
 (0)