Add build directories for tests especially for Windows

This commit is contained in:
Hajime Hoshi 2019-09-18 11:11:51 +09:00
parent d2d21b3a01
commit cdddf48f89

View File

@ -44,12 +44,12 @@ before_script:
script: script:
- cd /tmp/work - cd /tmp/work
- go build -tags example -v github.com/hajimehoshi/ebiten/examples/... - go build -tags example -v github.com/hajimehoshi/ebiten/...
- go test -v github.com/hajimehoshi/ebiten/... - go test -v github.com/hajimehoshi/ebiten/...
- gopherjs build --tags example -v github.com/hajimehoshi/ebiten/examples/blocks - gopherjs build --tags example -v github.com/hajimehoshi/ebiten/examples/blocks
- gjbt github.com/hajimehoshi/ebiten # TODO: Test the subdirectories - gjbt github.com/hajimehoshi/ebiten # TODO: Test the subdirectories
- GOOS=windows GOARCH=amd64 go build -tags example -v github.com/hajimehoshi/ebiten/examples/... - GOOS=windows GOARCH=amd64 go build -tags example -v github.com/hajimehoshi/ebiten/...
- GOOS=windows GOARCH=386 go build -tags example -v github.com/hajimehoshi/ebiten/examples/... - GOOS=windows GOARCH=386 go build -tags example -v github.com/hajimehoshi/ebiten/...
# - test -z $(gofmt -s -l $GOPATH/src/github.com/hajimehoshi/ebiten) # - test -z $(gofmt -s -l $GOPATH/src/github.com/hajimehoshi/ebiten)