1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-23 12:51:16 +00:00
syncthing-android/.travis.yml

35 lines
754 B
YAML
Raw Normal View History

2016-10-09 10:28:16 +00:00
sudo: required
language: android
jdk: oraclejdk8
# Install Android SDK
android:
components:
- tools
2016-11-26 04:44:40 +00:00
- android-25
2016-12-16 13:25:54 +00:00
- build-tools-25.0.2
2016-10-09 10:28:16 +00:00
- platform-tools
2016-12-16 13:25:54 +00:00
- build-tools-25.0.2
2016-10-20 10:51:41 +00:00
- android-25
2016-10-09 10:28:16 +00:00
- extra-android-m2repository
# Install Golang
before_install:
- sudo apt-get update -qq
- sudo apt-get install golang -y
# Cache gradle dependencies
# https://docs.travis-ci.com/user/languages/android/#Caching
before_cache:
2016-11-26 04:44:40 +00:00
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
2016-10-09 10:28:16 +00:00
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
script:
2016-11-26 04:44:40 +00:00
- ./gradlew clean lint
- ./gradlew buildNative assembleDebug
2016-12-16 13:15:56 +00:00
- ./gradlew compileDebugAndroidTestSources