2018-09-02 21:46:41 +00:00
|
|
|
language: java
|
2018-09-02 22:01:52 +00:00
|
|
|
|
2018-09-03 02:53:08 +00:00
|
|
|
sudo: required
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2018-09-02 22:03:14 +00:00
|
|
|
install: true
|
|
|
|
|
2018-09-02 22:01:52 +00:00
|
|
|
script:
|
2018-09-03 02:53:08 +00:00
|
|
|
- docker build -t cabaletta/baritone .
|
2018-09-03 02:58:06 +00:00
|
|
|
- docker run cabaletta/baritone /bin/sh -c "./gradlew test"
|
2018-09-03 03:54:26 +00:00
|
|
|
- docker run cabaletta/baritone /bin/sh -c "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 128x128x24 -ac +extension GLX +render; DISPLAY=:99 BARITONE_AUTO_TEST=true ./gradlew runClient"
|