Refine Travis build script

This commit is contained in:
Mygod
2017-12-06 14:45:06 -08:00
parent 07a48bc20b
commit 5f4e1a7173
2 changed files with 3 additions and 14 deletions
+2 -12
View File
@@ -11,26 +11,16 @@ env:
- ANDROID_NDK_HOME=$HOME/.android/android-ndk-${NDK_VERSION}
- 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:
directories:
- $HOME/.ivy2
- $HOME/.sbt
- $HOME/.gradle
android:
components:
- tools
- android-27
- build-tools-27.0.0
- build-tools-26.0.2
- extra-android-m2repository
- extra-google-m2repository
- build-tools-27.0.0
install:
- >
+1 -2
View File
@@ -12,8 +12,7 @@ A [shadowsocks](http://shadowsocks.org) client for Android, written in Kotlin.
* JDK 1.8
* Go 1.4+
* Android SDK
- Build Tools 26+
- Android Support Repository and Google Repository (see `build.gradle` for version)
- Build Tools 27+
- Android NDK r16+
### BUILD