ebiten/.travis.yml

51 lines
1.2 KiB
YAML
Raw Normal View History

2014-12-28 13:11:34 +01:00
language: go
2014-12-28 14:25:19 +01:00
go:
2018-02-27 04:22:42 +01:00
- "1.10"
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
2017-08-16 17:46:21 +02:00
- libxcursor-dev
2017-08-16 17:56:12 +02:00
- libxi-dev
2017-08-16 17:51:13 +02:00
- libxinerama-dev
2016-09-04 10:10:56 +02:00
- libxrandr-dev
2017-08-16 17:46:21 +02:00
- libxxf86vm-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 github.com/hajimehoshi/ebiten/...
- go get github.com/gopherjs/gopherjs
- go get github.com/gopherjs/webgl
2017-08-07 04:04:54 +02:00
- go get -tags example github.com/hajimehoshi/ebiten/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:
2018-01-14 08:21:08 +01:00
- test -z $(gofmt -s -l $GOPATH/src/github.com/hajimehoshi/ebiten)
2017-08-07 04:04:54 +02:00
- go build -tags example -v github.com/hajimehoshi/ebiten/examples/...
2018-02-23 20:55:15 +01:00
- go test -v github.com/hajimehoshi/ebiten/...
- 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