mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
30 lines
966 B
YAML
30 lines
966 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.4
|
|
|
|
before_install:
|
|
- export DISPLAY=:99.0
|
|
- sh -e /etc/init.d/xvfb start
|
|
- 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 libxxf86vm-dev # libglew-dev is required by node-gl.
|
|
- 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
|
|
|
|
script:
|
|
- go test -v ./...
|
|
- gopherjs test -v github.com/hajimehoshi/ebiten github.com/hajimehoshi/ebiten/internal/graphics
|
|
- gopherjs build -v github.com/hajimehoshi/ebiten/example/blocks
|
|
|
|
notifications:
|
|
email:
|
|
recipients:
|
|
- hajimehoshi@gmail.com
|