mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 03:58:55 +01:00
Use Go 1.14 by default at .travis.yml
This commit is contained in:
parent
e3d1e7784e
commit
08bb0834cc
12
.travis.yml
12
.travis.yml
@ -17,9 +17,9 @@ services:
|
|||||||
- xvfb
|
- xvfb
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# Install Go 1.13.7 manualy
|
# Install Go 1.14 manualy
|
||||||
# See https://travis-ci.community/t/goos-js-goarch-wasm-go-run-fails-panic-newosproc-not-implemented/1651
|
# 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.7.linux-amd64.tar.gz
|
- wget -O go.tar.gz https://dl.google.com/go/go1.14.linux-amd64.tar.gz
|
||||||
- tar -C ~ -xzf go.tar.gz
|
- tar -C ~ -xzf go.tar.gz
|
||||||
- rm go.tar.gz
|
- rm go.tar.gz
|
||||||
- export GOROOT=~/go
|
- export GOROOT=~/go
|
||||||
@ -32,10 +32,6 @@ install:
|
|||||||
- go get golang.org/dl/go1.12.16
|
- go get golang.org/dl/go1.12.16
|
||||||
- go1.12.16 download
|
- go1.12.16 download
|
||||||
|
|
||||||
# Install Go 1.14rc1
|
|
||||||
- go get golang.org/dl/go1.14rc1
|
|
||||||
- go1.14rc1 download
|
|
||||||
|
|
||||||
# Make the working directory
|
# Make the working directory
|
||||||
- mkdir /tmp/work
|
- mkdir /tmp/work
|
||||||
- cd /tmp/work
|
- cd /tmp/work
|
||||||
@ -48,7 +44,7 @@ install:
|
|||||||
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then go mod edit -replace=github.com/hajimehoshi/ebiten=./ebiten; fi
|
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then go mod edit -replace=github.com/hajimehoshi/ebiten=./ebiten; fi
|
||||||
|
|
||||||
# wasmbrowsertest
|
# wasmbrowsertest
|
||||||
- GO111MODULE=off go1.14rc1 get github.com/agnivade/wasmbrowsertest
|
- GO111MODULE=off go get github.com/agnivade/wasmbrowsertest
|
||||||
- mv $GOPATH/bin/wasmbrowsertest $GOPATH/bin/go_js_wasm_exec
|
- mv $GOPATH/bin/wasmbrowsertest $GOPATH/bin/go_js_wasm_exec
|
||||||
|
|
||||||
# GopherJS
|
# GopherJS
|
||||||
@ -89,7 +85,7 @@ script:
|
|||||||
|
|
||||||
# go test
|
# go test
|
||||||
- go test -v github.com/hajimehoshi/ebiten/...
|
- go test -v github.com/hajimehoshi/ebiten/...
|
||||||
- GOOS=js GOARCH=wasm go1.14rc1 test -v github.com/hajimehoshi/ebiten/...
|
- GOOS=js GOARCH=wasm go test -v github.com/hajimehoshi/ebiten/...
|
||||||
|
|
||||||
# GopherJS
|
# GopherJS
|
||||||
- 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 github.com/gopherjs/gopherjs build --tags=example -v github.com/hajimehoshi/ebiten/examples/blocks
|
||||||
|
Loading…
Reference in New Issue
Block a user