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
2019-11-26 21:11:00 +00:00
2019-11-15 07:27:13 +00:00
jdk :
- oraclejdk8
2018-12-03 08:17:06 +00:00
android :
components :
2019-11-15 07:27:13 +00:00
- build-tools-29.0.2 # The BuildTools version used by the project
- android-29 # The SDK version used to compile the project
2018-12-03 08:17:06 +00:00
2018-03-03 21:30:27 +00:00
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-12-02 13:03:18 +00:00
2018-03-03 19:46:29 +00:00
cache :
directories :
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
2019-11-16 16:46:17 +00:00
- $HOME/.android/build-cache
2019-11-16 18:02:00 +00:00
script :
2019-12-02 20:33:48 +00:00
- ./gradlew test
2019-11-26 21:11:00 +00:00
- if [ -n "$TRAVIS_TAG" ]; then
2019-11-27 06:35:14 +00:00
wget -O jdk-windows.zip https://github.com/ojdkbuild/ojdkbuild/releases/download/java-1.8.0-openjdk-1.8.0.232-1.b09/java-1.8.0-openjdk-1.8.0.232-1.b09.ojdkbuild.windows.x86_64.zip;
2019-11-26 21:11:00 +00:00
./gradlew desktop:packrWindows32;
./gradlew desktop:packrWindows64;
2019-11-27 06:14:09 +00:00
./gradlew desktop:packrLinux32;
./gradlew desktop:packrLinux64;
2019-11-27 19:03:14 +00:00
./gradlew desktop:zipLinuxFilesForJar;
2019-12-07 19:04:26 +00:00
./gradlew android:assembleRelease;
2019-11-26 21:11:00 +00:00
fi
2019-11-16 16:46:17 +00:00
deploy :
provider : releases
skip_cleanup : true
draft : false
api_key :
secure : gx8AhuLqrQ8a5g/9/khHvWIoJ4yJ3zrVZ3G+QI2jQ7kAbRMCIGKNI4yFr/7f4pHc7SL9O5ihofcOBFO1/nLR9x1wyg7IHsXM6qTvajYqNzsQWSHX9TWvJsHOyL3bEPr/8Zy6BvX5AtIsDuF9vmKa8eLdITrHEx9MXn+MZnsHHc74EERkZjmmt1E06Lz0P4ykw8DWrMI5Gzq533LKXQa3p1XVLv68pImDBQtlgZBwZnyzIOYGEO4zqzTf5cWClrbTm/XNGioleoPGd+v3csy4DLQha+Bm7IyUcxiiMsRKXSUlR7oiz0P7yB+17jNpymnlOYjNEn8bgau4s67Kr/YjSwtPOnAInbY6T5h+TEeaZTSyg8um03YuXD3T2ZE7VNX/0yBVWf0ji2J2V0oHem24Inb5aqgIk6jNHSy4GSu0ify5Gkxa80JHHUF2411xohGPIt2saZTXx+QlSOOpIajG7lODAm0xdv1/PUMtKJRHX5VxlWXBwmIQNJ9IK4ZmON6uKYQzZeN30nal7NqGRZn/hpPbMshwBWPpBiK/kjuR5jkAu8lrWotzpc+j/WAob9afyfxADmtygGzSGXHoe0Ynw6kOmtS3bg5dj0e+dXZMc8EYfoPF7kPwGToE7jVinwLVcC6NNNUiYxCKehR2zs21B6WdIZvN4OJidL1WOkrYNDc=
2019-11-24 20:22:47 +00:00
file :
- desktop/build/libs/Unciv.jar
- deploy/Unciv-Linux32.zip
- deploy/Unciv-Linux64.zip
- deploy/Unciv-Windows32.zip
- deploy/Unciv-Windows64.zip
2019-11-27 19:03:14 +00:00
- deploy/linuxFilesForJar.zip
2019-12-07 19:15:40 +00:00
- android/build/outputs/apk/release/Unciv-release-unsigned.apk
2019-11-16 16:46:17 +00:00
on :
2019-11-24 21:48:21 +00:00
repo : yairm210/Unciv
2019-11-16 16:46:17 +00:00
tags : true