Make TravisCI happy again

This commit is contained in:
Hajime Hoshi 2018-08-27 02:24:41 +09:00
parent 794bd1747c
commit c25f5b03e0

View File

@ -19,11 +19,16 @@ addons:
chrome: stable
install:
- go get -t -v github.com/hajimehoshi/ebiten/...
- mkdir /tmp/work
- cd /tmp/work
- go mod init example.com/m
- go get github.com/hajimehoshi/ebiten@master
- go get github.com/gopherjs/gopherjs
- go get github.com/gopherjs/gopherwasm/js
- go get -tags example github.com/hajimehoshi/ebiten/examples/...
- go get myitcv.io/cmd/gjbt
- # gopath-get for the current GopherJS and gjbt.
- GO111MODULE=off go get -tags example github.com/hajimehoshi/ebiten/...
- GO111MODULE=off go get github.com/gopherjs/gopherjs
- GO111MODULE=off go get github.com/gopherjs/gopherwasm/js
- mkdir /tmp/google-chrome-bin
- ln -s /usr/bin/google-chrome-stable /tmp/google-chrome-bin/google-chrome
- export PATH=/tmp/google-chrome-bin:$PATH
@ -37,12 +42,14 @@ before_script:
- sleep 3
script:
- test -z $(gofmt -s -l $GOPATH/src/github.com/hajimehoshi/ebiten)
- cd /tmp/work
- go build -tags example -v github.com/hajimehoshi/ebiten/examples/...
- go test -v github.com/hajimehoshi/ebiten/...
- gopherjs build --tags example -v github.com/hajimehoshi/ebiten/examples/blocks
- gjbt github.com/hajimehoshi/ebiten # TODO: Test the subdirectories
# - test -z $(gofmt -s -l $GOPATH/src/github.com/hajimehoshi/ebiten)
notifications:
email:
recipients: