Fix .travis.yml to use absolute paths as much as possible

This commit is contained in:
Hajime Hoshi 2017-08-07 11:04:13 +09:00
parent 9ab517cf82
commit 9e67a81ee2

View File

@ -22,10 +22,10 @@ addons:
# - npm install --global gl # - npm install --global gl
install: install:
- go get -t -v ./... - go get -t -v github.com/hajimehoshi/ebiten/...
- go get github.com/gopherjs/gopherjs - go get github.com/gopherjs/gopherjs
- go get github.com/gopherjs/webgl - go get github.com/gopherjs/webgl
- go get -tags example ./examples/... - go get -tags example github.com/haimehoshi/ebiten/examples/...
before_script: before_script:
- export DISPLAY=:99.0 - export DISPLAY=:99.0
@ -33,8 +33,8 @@ before_script:
- sleep 3 - sleep 3
script: script:
- go build -tags example -v ./... - go build -tags example -v github.com/haimehoshi/ebiten/examples/...
- go test -v ./... - go test -v github.com/haimehoshi/ebiten/...
- gopherjs build --tags example -v github.com/hajimehoshi/ebiten/examples/blocks - gopherjs build --tags example -v github.com/hajimehoshi/ebiten/examples/blocks
# Looks like testing GL on node is hard. # Looks like testing GL on node is hard.