Created
July 22, 2018 16:46
-
-
Save warnyul/d69481f6c4b3b3c16d77b192a534fd70 to your computer and use it in GitHub Desktop.
Build Kotlin Multiplatform project on Travis CI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: objective-c | |
osx_image: xcode9.4 | |
before_cache: | |
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | |
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ | |
cache: | |
- directories: | |
# Android SDK | |
- $HOME/android-sdk-dl | |
- $HOME/android-sdk | |
# Gradle dependencies | |
- $HOME/.gradle/caches/ | |
- $HOME/.gradle/wrapper/ | |
# Android build cache (see http://tools.android.com/tech-docs/build-cache) | |
- $HOME/.android/build-cache | |
- $HOME/.konan/cache | |
env: | |
- ANDROID_HOME=$HOME/android-sdk JAVA_OPTS='-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee' | |
before_install: | |
- ./scripts/download_android_sdk_for_mac.sh | |
script: | |
- ./gradlew clean build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment