From a7d9b95135bb024e1c2dd06f0e31035cf45d8bc7 Mon Sep 17 00:00:00 2001 From: Alexander Bezzubov Date: Wed, 17 Oct 2018 23:55:00 +0300 Subject: [PATCH] ci: move default to 1.10 Signed-off-by: Alexander Bezzubov --- .travis.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1bd0453..b2c3d36 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: go go: - - 1.9.x + - '1.10' addons: apt: @@ -12,8 +12,11 @@ matrix: fast_finish: true env: - - ONIGURUMA=0 - - ONIGURUMA=1 + global: + - GO_VERSION='1.10' + matrix: + - ONIGURUMA=0 + - ONIGURUMA=1 install: - go version @@ -50,7 +53,7 @@ jobs: jdk: oraclejdk8 install: - - GIMME_OUTPUT=$(gimme 1.9 | tee -a $HOME/.bashrc) && eval "$GIMME_OUTPUT" + - GIMME_OUTPUT=$(gimme $GO_VERSION | tee -a $HOME/.bashrc) && eval "$GIMME_OUTPUT" - 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 @@ -118,7 +121,7 @@ jobs: jdk: oraclejdk8 install: - - GIMME_OUTPUT=$(gimme 1.9 | tee -a $HOME/.bashrc) && eval "$GIMME_OUTPUT" + - GIMME_OUTPUT=$(gimme $GO_VERSION | tee -a $HOME/.bashrc) && eval "$GIMME_OUTPUT" - 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