mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-29 15:51:17 +00:00
Use Travis CI
This commit is contained in:
parent
29370b9a03
commit
27498cfa7f
2 changed files with 33 additions and 1 deletions
32
.travis.yml
Normal file
32
.travis.yml
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
sudo: required
|
||||||
|
language: android
|
||||||
|
jdk: oraclejdk8
|
||||||
|
|
||||||
|
# Install Android SDK
|
||||||
|
android:
|
||||||
|
components:
|
||||||
|
- tools
|
||||||
|
- platform-tools
|
||||||
|
- build-tools-24.0.2
|
||||||
|
- android-24
|
||||||
|
- 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:
|
||||||
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.gradle/caches/
|
||||||
|
- $HOME/.gradle/wrapper/
|
||||||
|
|
||||||
|
script:
|
||||||
|
# Lint fails because travis doesn't have platform-tools 24
|
||||||
|
# https://github.com/travis-ci/travis-ci/issues/6699
|
||||||
|
#- ./gradlew lint
|
||||||
|
- ./gradlew buildNative assembleDebug
|
|
@ -1,6 +1,6 @@
|
||||||
# syncthing-android
|
# syncthing-android
|
||||||
|
|
||||||
[![Build Status](http://android.syncthing.net/job/Syncthing-Android/badge/icon)](http://android.syncthing.net/job/Syncthing-Android/)
|
[![Build Status](https://travis-ci.org/syncthing/syncthing-android.svg?branch=master)](https://travis-ci.org/syncthing/syncthing-android)
|
||||||
|
|
||||||
A wrapper of [Syncthing](https://github.com/syncthing/syncthing) for Android.
|
A wrapper of [Syncthing](https://github.com/syncthing/syncthing) for Android.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue