mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
46 lines
984 B
YAML
46 lines
984 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.6
|
|
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- libglew-dev # required by headless-gl.
|
|
- libgles2-mesa-dev
|
|
- 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 build -v ./...
|
|
- gopherjs build -v github.com/hajimehoshi/ebiten/examples/blocks
|
|
|
|
# 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.
|
|
# - gopherjs test -v github.com/hajimehoshi/ebiten github.com/hajimehoshi/ebiten/internal/graphics
|
|
|
|
notifications:
|
|
email:
|
|
recipients:
|
|
- hajimehoshi@gmail.com
|