Commit 5f4e1a71 authored by Mygod's avatar Mygod

Refine Travis build script

parent 07a48bc2
...@@ -11,26 +11,16 @@ env: ...@@ -11,26 +11,16 @@ env:
- ANDROID_NDK_HOME=$HOME/.android/android-ndk-${NDK_VERSION} - ANDROID_NDK_HOME=$HOME/.android/android-ndk-${NDK_VERSION}
- PATH=${ANDROID_NDK_HOME}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:${PATH} - PATH=${ANDROID_NDK_HOME}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:${PATH}
scala:
- 2.11.11
before_cache:
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "*.lock" | xargs rm
cache: cache:
directories: directories:
- $HOME/.ivy2 - $HOME/.gradle
- $HOME/.sbt
android: android:
components: components:
- tools - tools
- android-27 - android-27
- build-tools-27.0.0
- build-tools-26.0.2 - build-tools-26.0.2
- extra-android-m2repository - build-tools-27.0.0
- extra-google-m2repository
install: install:
- > - >
......
...@@ -12,8 +12,7 @@ A [shadowsocks](http://shadowsocks.org) client for Android, written in Kotlin. ...@@ -12,8 +12,7 @@ A [shadowsocks](http://shadowsocks.org) client for Android, written in Kotlin.
* JDK 1.8 * JDK 1.8
* Go 1.4+ * Go 1.4+
* Android SDK * Android SDK
- Build Tools 26+ - Build Tools 27+
- Android Support Repository and Google Repository (see `build.gradle` for version)
- Android NDK r16+ - Android NDK r16+
### BUILD ### BUILD
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment