WarpDrive/.travis.yml
LemADEC 05ca7fbce9
Updated Travis build to use trusty
This should fix intermittent failure to install oraclejdk8
2019-09-17 05:06:09 +02:00

22 lines
433 B
YAML

dist: trusty
language: java
jdk:
- oraclejdk8
before_install:
- chmod +x gradlew
before_deploy:
- echo "deploying ${RELEASE_FILE} to GitHub releases"
deploy:
provider: releases
api_key: ${GITHUB_API_TOKEN}
file_glob: true
file: "${RELEASE_FILE}"
skip_cleanup: true
draft: true
on:
repo: LemADEC/WarpDrive
branch: MC1.12
tags: true
jdk: oraclejdk8
after_success:
- export RELEASE_FILE=$(ls output/*.jar)