Update Go version in .travis.yml

This commit is contained in:
Hajime Hoshi 2020-02-09 01:43:06 +09:00
parent 6b12b02a05
commit c3f50c6893

View File

@ -17,9 +17,9 @@ services:
- xvfb
install:
# Install Go 1.13.5 manualy
# Install Go 1.13.7 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.5.linux-amd64.tar.gz
- wget -O go.tar.gz https://dl.google.com/go/go1.13.7.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.14
- go get golang.org/dl/go1.12.14
- go1.12.14 download
# Install Go 1.12.16
- go get golang.org/dl/go1.12.16
- go1.12.16 download
# Install Go 1.14 beta1
- go get golang.org/dl/go1.14beta1
@ -52,7 +52,7 @@ install:
- mv $GOPATH/bin/wasmbrowsertest $GOPATH/bin/go_js_wasm_exec
# GopherJS
- GO111MODULE=off go1.12.14 get github.com/gopherjs/gopherjs
- GO111MODULE=off go1.12.16 get github.com/gopherjs/gopherjs
- mkdir -p $GOPATH/src/github.com/hajimehoshi
- cd $GOPATH/src/github.com/hajimehoshi
- wget -O ebiten.zip https://github.com/hajimehoshi/ebiten/archive/$TRAVIS_COMMIT.zip
@ -63,7 +63,7 @@ install:
- cd /tmp/work
# gjbt
- GO111MODULE=off go1.12.14 get myitcv.io/cmd/gjbt
- GO111MODULE=off go1.12.16 get myitcv.io/cmd/gjbt
# Chrome
- mkdir /tmp/google-chrome-bin
@ -92,8 +92,8 @@ script:
- GOOS=js GOARCH=wasm go1.14beta1 test -v github.com/hajimehoshi/ebiten/...
# GopherJS
- 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
- GO111MODULE=off go1.12.16 run github.com/gopherjs/gopherjs build --tags=example -v github.com/hajimehoshi/ebiten/examples/blocks
- GO111MODULE=off go1.12.16 run myitcv.io/cmd/gjbt github.com/hajimehoshi/ebiten # TODO: Test the subdirectories
# - test -z $(gofmt -s -l $GOPATH/src/github.com/hajimehoshi/ebiten)