From 216eacb0bae6af27bf1c6b856991d2fde60b3743 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 18 Dec 2019 12:52:13 +0900 Subject: [PATCH] test: Update Go version in TravisCI --- .travis.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index c02de1296..a8424cf91 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,9 +17,9 @@ services: - xvfb install: - # Install Go 1.13.3 manualy + # Install Go 1.13.5 manualy # See https://travis-ci.community/t/goos-js-goarch-wasm-go-run-fails-panic-newosproc-not-implemented/1651 - - wget -O go.tar.gz https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz + - wget -O go.tar.gz https://dl.google.com/go/go1.13.5.linux-amd64.tar.gz - tar -C ~ -xzf go.tar.gz - rm go.tar.gz - export GOROOT=~/go @@ -28,9 +28,9 @@ install: - go version - go env - # Install Go 1.12.12 - - go get golang.org/dl/go1.12.12 - - go1.12.12 download + # Install Go 1.12.14 + - go get golang.org/dl/go1.12.14 + - go1.12.14 download # Make the working directory - mkdir /tmp/work @@ -48,7 +48,7 @@ install: - mv $GOPATH/bin/wasmbrowsertest $GOPATH/bin/go_js_wasm_exec # GopherJS - - GO111MODULE=off go1.12.12 get github.com/gopherjs/gopherjs + - GO111MODULE=off go1.12.14 get github.com/gopherjs/gopherjs - mkdir -p $GOPATH/src/github.com/hajimehoshi - cd $GOPATH/src/github.com/hajimehoshi - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then curl -L -o ebiten.zip https://github.com/hajimehoshi/ebiten/archive/$TRAVIS_COMMIT.zip; fi @@ -60,7 +60,7 @@ install: - cd /tmp/work # gjbt - - GO111MODULE=off go1.12.12 get myitcv.io/cmd/gjbt + - GO111MODULE=off go1.12.14 get myitcv.io/cmd/gjbt # Chrome - mkdir /tmp/google-chrome-bin @@ -89,8 +89,8 @@ script: - GOOS=js GOARCH=wasm go test -v github.com/hajimehoshi/ebiten/... # GopherJS - - GO111MODULE=off go1.12.12 run github.com/gopherjs/gopherjs build --tags=example -v github.com/hajimehoshi/ebiten/examples/blocks - - GO111MODULE=off go1.12.12 run myitcv.io/cmd/gjbt github.com/hajimehoshi/ebiten # TODO: Test the subdirectories + - GO111MODULE=off go1.12.14 run github.com/gopherjs/gopherjs build --tags=example -v github.com/hajimehoshi/ebiten/examples/blocks + - GO111MODULE=off go1.12.14 run myitcv.io/cmd/gjbt github.com/hajimehoshi/ebiten # TODO: Test the subdirectories # - test -z $(gofmt -s -l $GOPATH/src/github.com/hajimehoshi/ebiten)