mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 11:21:29 +00:00
Merge branch 'fix-travis'
This commit is contained in:
commit
5c837fbe82
1 changed files with 6 additions and 7 deletions
13
.travis.yml
13
.travis.yml
|
@ -1,4 +1,3 @@
|
||||||
sudo: required
|
|
||||||
language: android
|
language: android
|
||||||
jdk: oraclejdk8
|
jdk: oraclejdk8
|
||||||
dist: trusty
|
dist: trusty
|
||||||
|
@ -7,8 +6,6 @@ dist: trusty
|
||||||
android:
|
android:
|
||||||
components:
|
components:
|
||||||
- tools
|
- tools
|
||||||
- android-27
|
|
||||||
- build-tools-27.0.2
|
|
||||||
- platform-tools
|
- platform-tools
|
||||||
- build-tools-27.0.2
|
- build-tools-27.0.2
|
||||||
- android-27
|
- android-27
|
||||||
|
@ -21,11 +18,13 @@ before_script:
|
||||||
- unzip -q android-ndk-r15c-linux-x86_64.zip
|
- unzip -q android-ndk-r15c-linux-x86_64.zip
|
||||||
- export ANDROID_NDK_HOME=`pwd`/android-ndk-r15c
|
- export ANDROID_NDK_HOME=`pwd`/android-ndk-r15c
|
||||||
|
|
||||||
# Install Golang
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo add-apt-repository ppa:gophers/archive -y
|
# Install Go using gimme tool
|
||||||
- sudo apt-get update -qq
|
- curl -sL -o ~/bin/gimme https://raw.githubusercontent.com/travis-ci/gimme/master/gimme
|
||||||
- sudo apt-get install golang-1.9-go -y
|
- chmod +x ~/bin/gimme
|
||||||
|
- eval "$(gimme 1.9)"
|
||||||
|
# Hack to accept Android licenses
|
||||||
|
- yes | sdkmanager "platforms;android-27"
|
||||||
|
|
||||||
# Cache gradle dependencies
|
# Cache gradle dependencies
|
||||||
# https://docs.travis-ci.com/user/languages/android/#Caching
|
# https://docs.travis-ci.com/user/languages/android/#Caching
|
||||||
|
|
Loading…
Reference in a new issue