加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.travis.yml 1019 Bytes
一键复制 编辑 原始数据 按行查看 历史
greenrobot Team 提交于 2018-08-21 15:57 . Travis: skip performance tests.
# Use the Travis Container-Based Infrastructure
sudo: false
language: android
jdk:
- oraclejdk8
before_install:
# Install the rest of tools (e.g., avdmanager)
- yes | sdkmanager tools
# Install the system image
- yes | sdkmanager "system-images;android-18;default;armeabi-v7a"
# Create and start emulator for the script. Meant to race the install task.
- echo no | avdmanager create avd --force -n test -k "system-images;android-18;default;armeabi-v7a"
- $ANDROID_HOME/emulator/emulator -avd test -no-audio -no-window &
install: ./gradlew clean assemble assembleAndroidTest --stacktrace
before_script:
- android-wait-for-emulator
- adb shell input keyevent 82
script: ./gradlew check connectedCheck -x :tests:DaoTestPerformance:connectedCheck --stacktrace
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/
- $HOME/.android/build-cache
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化