BaritoneAutoTest

This commit is contained in:
Leijurv
2018-09-25 11:19:25 -07:00
parent 7db973017a
commit ce55cc56c1
5 changed files with 80 additions and 5 deletions

View File

@@ -8,12 +8,12 @@ services:
install:
- sudo apt-get update
- sudo apt-get install jshon
- ./gradlew test
- docker build -t cabaletta/baritone .
script:
- docker build -t cabaletta/baritone .
- 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"
- sh scripts/build.sh
- 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; sh scripts/build.sh"
- docker cp $(docker ps -a -q):/code/dist dist
- ls dist
deploy:
provider: releases