2014-12-28 13:11:34 +01:00
|
|
|
language: go
|
|
|
|
|
2014-12-28 14:25:19 +01:00
|
|
|
go:
|
2016-01-19 14:32:27 +01:00
|
|
|
- 1.5
|
2014-12-28 13:20:56 +01:00
|
|
|
|
2016-01-19 15:21:00 +01:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- libglew-dev # required by node-gl.
|
|
|
|
- libopenal-dev
|
|
|
|
- libalut-dev
|
|
|
|
- libxxf86vm-dev
|
|
|
|
|
2014-12-28 14:25:19 +01:00
|
|
|
before_install:
|
2015-01-13 16:18:36 +01:00
|
|
|
- export DISPLAY=:99.0
|
|
|
|
- sh -e /etc/init.d/xvfb start
|
|
|
|
- export NODE_PATH=$(npm config get prefix)/lib/node_modules
|
|
|
|
- npm install --global gl
|
2014-12-28 13:11:34 +01:00
|
|
|
|
2015-01-06 02:55:04 +01:00
|
|
|
install:
|
|
|
|
- go get -t -v ./...
|
|
|
|
- go get github.com/gopherjs/gopherjs
|
|
|
|
- go get github.com/gopherjs/webgl
|
|
|
|
|
|
|
|
script:
|
|
|
|
- go test -v ./...
|
2015-01-26 16:08:24 +01:00
|
|
|
- gopherjs test -v github.com/hajimehoshi/ebiten github.com/hajimehoshi/ebiten/internal/graphics
|
2015-01-06 02:55:04 +01:00
|
|
|
- gopherjs build -v github.com/hajimehoshi/ebiten/example/blocks
|
|
|
|
|
2014-12-28 13:11:34 +01:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- hajimehoshi@gmail.com
|