ebiten/.travis.yml

47 lines
1015 B
YAML
Raw Normal View History

2014-12-28 13:11:34 +01:00
language: go
2014-12-28 14:25:19 +01:00
go:
- 1.8
2016-01-19 15:21:00 +01:00
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libasound2-dev
2016-01-19 19:43:13 +01:00
- libglew-dev # required by headless-gl.
- libgles2-mesa-dev
2016-01-19 15:21:00 +01:00
- libalut-dev
- libxxf86vm-dev
2016-09-04 10:10:56 +02:00
- libxrandr-dev
2016-01-19 15:21:00 +01:00
# gl module is not available (2016-05-18)
#
# before_install:
# - export NODE_PATH=$(npm config get prefix)/lib/node_modules
# - npm install --global gl
2014-12-28 13:11:34 +01:00
install:
- go get -t -v ./...
- go get github.com/gopherjs/gopherjs
- go get github.com/gopherjs/webgl
2016-08-25 18:31:38 +02:00
- go get -tags example ./examples/...
2016-01-19 19:43:13 +01:00
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
script:
- go build -tags example -v ./...
2016-09-04 10:10:56 +02:00
- go test -v ./...
2016-08-25 18:21:01 +02:00
- gopherjs build --tags example -v github.com/hajimehoshi/ebiten/examples/blocks
2016-02-06 08:47:25 +01:00
# 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