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:
|
2016-01-19 19:43:13 +01:00
|
|
|
- libglew-dev # required by headless-gl.
|
2016-02-19 17:59:22 +01:00
|
|
|
- libgles2-mesa-dev
|
2016-01-19 15:21:00 +01:00
|
|
|
- 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 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
|
|
|
|
|
2016-01-19 19:43:13 +01:00
|
|
|
before_script:
|
|
|
|
- export DISPLAY=:99.0
|
|
|
|
- sh -e /etc/init.d/xvfb start
|
|
|
|
- sleep 3
|
|
|
|
|
2015-01-06 02:55:04 +01:00
|
|
|
script:
|
2016-02-06 08:47:25 +01:00
|
|
|
- go build -v ./...
|
2016-02-11 11:57:13 +01:00
|
|
|
- gopherjs build -v github.com/hajimehoshi/ebiten/examples/blocks
|
2015-01-06 02:55:04 +01:00
|
|
|
|
2016-02-06 08:47:25 +01:00
|
|
|
# Give up testing on Travis CI because of X error
|
|
|
|
# https://travis-ci.org/hajimehoshi/ebiten/jobs/107404013
|
|
|
|
# - go test -v ./...
|
|
|
|
|
|
|
|
# Looks like testing GL on node is hard.
|
2016-01-19 19:43:13 +01:00
|
|
|
# - gopherjs test -v github.com/hajimehoshi/ebiten github.com/hajimehoshi/ebiten/internal/graphics
|
|
|
|
|
2014-12-28 13:11:34 +01:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- hajimehoshi@gmail.com
|