mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-05-23 08:30:07 -03:00
ci: use go 1.10.x
gimme version on TravisCI is old, 1.2 and does not support .x resulting in `I don't have any idea what to do with '1.10.x' but it works on latest master https://github.com/travis-ci/gimme#asking-gimme-what-a-version-is thus opting out in always running a latest gimme Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
parent
5147de90b8
commit
89ec551e70
10
.travis.yml
10
.travis.yml
@ -1,7 +1,7 @@
|
||||
language: go
|
||||
|
||||
go:
|
||||
- '1.10'
|
||||
- '1.10.x'
|
||||
|
||||
addons:
|
||||
apt:
|
||||
@ -13,7 +13,7 @@ matrix:
|
||||
|
||||
env:
|
||||
global:
|
||||
- GO_VERSION='1.10'
|
||||
- GO_VERSION='1.10.x'
|
||||
matrix:
|
||||
- ONIGURUMA=0
|
||||
- ONIGURUMA=1
|
||||
@ -53,7 +53,8 @@ jobs:
|
||||
jdk: oraclejdk8
|
||||
|
||||
install:
|
||||
- GIMME_OUTPUT=$(gimme $GO_VERSION | tee -a $HOME/.bashrc) && eval "$GIMME_OUTPUT"
|
||||
- eval "$(curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | GIMME_GO_VERSION=$GO_VERSION bash)"
|
||||
- go version
|
||||
- export GOPATH=$HOME/gopath
|
||||
- mkdir -p $GOPATH/src/gopkg.in/src-d/enry.v1
|
||||
- rsync -az ${TRAVIS_BUILD_DIR}/ $GOPATH/src/gopkg.in/src-d/enry.v1
|
||||
@ -121,7 +122,8 @@ jobs:
|
||||
jdk: oraclejdk8
|
||||
|
||||
install:
|
||||
- GIMME_OUTPUT=$(gimme $GO_VERSION | tee -a $HOME/.bashrc) && eval "$GIMME_OUTPUT"
|
||||
- eval "$(curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | GIMME_GO_VERSION=$GO_VERSION bash)"
|
||||
- go version
|
||||
- export GOPATH=$HOME/gopath
|
||||
- mkdir -p $GOPATH/src/gopkg.in/src-d/enry.v1
|
||||
- rsync -az ${TRAVIS_BUILD_DIR}/ $GOPATH/src/gopkg.in/src-d/enry.v1
|
||||
|
Loading…
x
Reference in New Issue
Block a user