Unciv/.travis.yml

32 lines
808 B
YAML
Raw Normal View History

2018-03-03 19:46:29 +00:00
language: android
2019-07-27 20:21:40 +00:00
dist: trusty # For oracleJDK fail errors, as per advice from https://travis-ci.community/t/error-installing-oraclejdk8-expected-feature-release-number-in-range-of-9-to-14-but-got-8/3766/6
2018-03-03 19:46:29 +00:00
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
2019-07-24 09:20:14 +00:00
- tools
- platform-tools
# The BuildTools version used by your project
2019-09-03 20:47:17 +00:00
- build-tools-29.0.2
# The SDK version used to compile your project
- android-29
2018-03-03 19:46:29 +00:00
jdk:
- oraclejdk8
before_install:
2018-03-03 20:07:46 +00:00
- chmod +x gradlew
2018-03-03 19:46:29 +00:00
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
2018-03-03 19:46:29 +00:00
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache