mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 03:11:30 +00:00
Remove travis CI
This commit is contained in:
parent
b9af703768
commit
294313037e
1 changed files with 0 additions and 46 deletions
46
.travis.yml
46
.travis.yml
|
@ -1,46 +0,0 @@
|
||||||
language: android
|
|
||||||
jdk: oraclejdk8
|
|
||||||
dist: trusty
|
|
||||||
|
|
||||||
# Install Android SDK
|
|
||||||
android:
|
|
||||||
components:
|
|
||||||
- tools
|
|
||||||
- platform-tools
|
|
||||||
- build-tools-28.0.3
|
|
||||||
- android-28
|
|
||||||
- extra-android-m2repository
|
|
||||||
|
|
||||||
# Install Android NDK (apparently there is no easier way to do this)
|
|
||||||
# https://github.com/travis-ci/travis-ci/issues/5395
|
|
||||||
before_script:
|
|
||||||
- export NDK_VERSION=r20
|
|
||||||
- curl -L https://dl.google.com/android/repository/android-ndk-${NDK_VERSION}-linux-x86_64.zip -O
|
|
||||||
- unzip -q android-ndk-${NDK_VERSION}-linux-x86_64.zip
|
|
||||||
- export ANDROID_NDK_HOME=`pwd`/android-ndk-${NDK_VERSION}
|
|
||||||
|
|
||||||
before_install:
|
|
||||||
# Install Go using gimme tool
|
|
||||||
- curl -sL -o ~/bin/gimme https://raw.githubusercontent.com/travis-ci/gimme/master/gimme
|
|
||||||
- chmod +x ~/bin/gimme
|
|
||||||
- eval "$(gimme stable)"
|
|
||||||
# Hack to accept Android licenses
|
|
||||||
- yes | sdkmanager "platforms;android-28"
|
|
||||||
- yes | sdkmanager "platforms;android-29"
|
|
||||||
|
|
||||||
# Cache gradle dependencies
|
|
||||||
# https://docs.travis-ci.com/user/languages/android/#Caching
|
|
||||||
before_cache:
|
|
||||||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
|
||||||
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- $HOME/.gradle/caches/
|
|
||||||
- $HOME/.gradle/wrapper/
|
|
||||||
|
|
||||||
script:
|
|
||||||
- ./gradlew lint
|
|
||||||
- ./gradlew buildNative assembleDebug
|
|
||||||
|
|
||||||
notifications:
|
|
||||||
email: false
|
|
Loading…
Reference in a new issue