mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-23 09:22:01 +01:00
test: Update Go version in TravisCI
This commit is contained in:
parent
9ead4c24f1
commit
216eacb0ba
18
.travis.yml
18
.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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user