rhubarb-lip-sync/.travis.yml

33 lines
758 B
YAML

language: java
os: linux
jdk: oraclejdk8
# Don't call `./gradlew assemble`
install: []
script:
- ./gradlew build --scan --stacktrace
deploy:
# Deploy to GitHub releases
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
file_glob: true
file: "./build/distributions/rhubarb-lip-sync-*.zip"
skip_cleanup: true
on:
tags: true
tag_name: $TRAVIS_TAG
name: $TRAVIS_COMMIT_MESSAGE
draft: true
# Enable caching of dependencies.
# See https://guides.gradle.org/executing-gradle-builds-on-travisci/#enable_caching_of_downloaded_artifacts
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/