ebiten/.travis.yml
2016-01-20 03:43:13 +09:00

41 lines
842 B
YAML

language: go
go:
- 1.5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libglew-dev # required by headless-gl.
- libopenal-dev
- libalut-dev
- libxxf86vm-dev
before_install:
- export NODE_PATH=$(npm config get prefix)/lib/node_modules
- npm install --global gl
install:
- go get -t -v ./...
- go get github.com/gopherjs/gopherjs
- go get github.com/gopherjs/webgl
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
script:
- go test -v ./...
- gopherjs build -v github.com/hajimehoshi/ebiten/example/blocks
# Looks like testing GL on node on Travis CI seems hard.
# - gopherjs test -v github.com/hajimehoshi/ebiten github.com/hajimehoshi/ebiten/internal/graphics
notifications:
email:
recipients:
- hajimehoshi@gmail.com