ebiten/.travis.yml

30 lines
904 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.4
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
2014-12-28 14:25:19 +01:00
- sudo add-apt-repository 'deb http://us.archive.ubuntu.com/ubuntu/ utopic main restricted universe multiverse'
- sudo add-apt-repository 'deb http://us.archive.ubuntu.com/ubuntu/ utopic-updates main restricted universe multiverse'
- sudo apt-get update -qq
- sudo apt-get install -qq libglew-dev libglfw3-dev libopenal-dev libalut-dev
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
install:
- go get -t -v ./...
- go get github.com/gopherjs/gopherjs
- go get github.com/gopherjs/webgl
script:
- go test -v ./...
2015-01-13 16:18:36 +01:00
- gopherjs test -v github.com/hajimehoshi/ebiten github.com/hajimehoshi/ebiten/internal
- gopherjs build -v github.com/hajimehoshi/ebiten/example/blocks
2014-12-28 13:11:34 +01:00
notifications:
email:
recipients:
- hajimehoshi@gmail.com