1 Star 0 Fork 1

前面那方/syncthing-android

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.22 KB
一键复制 编辑 原始数据 按行查看 历史
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"
# 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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhongbin/syncthing-android.git
git@gitee.com:zhongbin/syncthing-android.git
zhongbin
syncthing-android
syncthing-android
master

搜索帮助