Refine Travis build script
This commit is contained in:
+2
-12
@@ -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:
|
||||
- >
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user