baritone/.travis.yml

31 lines
1.4 KiB
YAML
Raw Normal View History

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-25 04:46:26 +00:00
install:
2018-09-25 16:58:11 +00:00
- sudo apt-get update
- sudo apt-get install jshon
2018-09-25 18:19:25 +00:00
- docker build -t cabaletta/baritone .
2018-09-02 22:03:14 +00:00
2018-09-02 22:01:52 +00:00
script:
2018-09-25 19:06:02 +00:00
- docker run --name baritone cabaletta/baritone /bin/sh -c "set -e; /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; sh scripts/build.sh; DISPLAY=:99 BARITONE_AUTO_TEST=true ./gradlew runClient"
2018-09-25 18:46:23 +00:00
- docker cp baritone:/code/dist dist
2018-09-25 18:19:25 +00:00
- ls dist
2018-09-25 19:06:02 +00:00
- cat dist/checksums.txt
2018-09-25 04:46:26 +00:00
deploy:
provider: releases
api_key:
secure: YOuiXoJNpB4bW89TQoY2IGXg0tqOKls55YMXsSPU6Mx8WzRu8CjjO/A8KA9nGfNrKM+NucjiKr/h53O2Dp2uyy0i0SLvav/G0MaBMeB1NlPRwFopi6tVPNaoZsvr8NW4BIURhspckYLpOTYWnfmOkIv8q7AxrjUZWPKDlq0dte20UxEqUE6msHJ7U9XlKo/4fX40kvWMfwGI2hTyAtL0cRT1QPsd+uW3OQjAPcQj+jKaWld46V8pBK8g9Qde9mo8HC9NBv97zw1bBF1EFkynW569kElHvaS2Opl2QLGaf66guDbpnqDpGHMhQrDdxsZHJ4RksyITn+8A9UArmbkU35BxKqBeQqOWxod2+M0axdLh1pvX43Q1t9n7RiZBf7GvV8vkXL5Sjf8v6Y4LqkJGhvQkTUwpH+0knwrE761DMCtBC34AiWG70D4u7msmhurkflr9kmRHSj/3lyJ1Q2lkt8L+FOAlQBVs64vXTsfgc6Yge7N0O3UD5hCkrDNoz3BzhNBdCkbdxdKCGip71UZgUNkPy9o3ui8jATNj9ypx3+U8ovqP0XWlJqUZmyeXyNGW9NrLeCkRLTlLnZ/dv6OPONa1oAu4TwF1w5A+TGRFZcZjH/PnZKZDQ1OYQOR6drLKRYdr2unvuf5KUKUGqZ7aYtLGhP0rBvGWddRV7DSmX/s=
all_branches: true
2018-09-25 14:33:16 +00:00
file_glob: true
file:
2018-09-25 14:33:16 +00:00
- dist/*
2018-09-25 04:46:26 +00:00
skip_cleanup: true
on:
tags: true
repo: cabaletta/baritone