Skip to content

Commit

Permalink
Use travis environment variable for go version
Browse files Browse the repository at this point in the history
  • Loading branch information
obalunenko committed Nov 24, 2019
1 parent 8e24ee1 commit 7b74364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- linux
go_import_path: github.com/oleg-balunenko/instadiff-cli
script:
- export GOVERSION=$(go version | awk '{print $3;}')
- export GOVERSION=${TRAVIS_GO_VERSION}
- echo "GOVERSION=${GOVERSION}"
- echo "Build stage"
- make compile
Expand Down

0 comments on commit 7b74364

Please sign in to comment.