代码拉取完成,页面将自动刷新
language: android
dist: trusty
jdk:
- oraclejdk8
before_install:
# Install SDK license so Android Gradle plugin can install deps.
- mkdir "$ANDROID_HOME/licenses" || true
- echo "d56f5187479451eabf01fb78af6dfcb131a6481e" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" >> "$ANDROID_HOME/licenses/android-sdk-license"
# Install the rest of tools (e.g., avdmanager)
- sdkmanager tools
# Install the system image
- 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"
- $(cd "$ANDROID_HOME/tools" && emulator -avd test -no-audio -no-window) &
install: ./gradlew ":$MODULE:build" ":$MODULE:assembleAndroidTest" --stacktrace
before_script:
- android-wait-for-emulator
- adb shell input keyevent 82
script:
- ./gradlew ":$MODULE:connectedCheck" --stacktrace
after_success:
- .buildscript/deploy_snapshot.sh
env:
matrix:
- MODULE=rxbinding
- MODULE=rxbinding-appcompat
- MODULE=rxbinding-core
- MODULE=rxbinding-drawerlayout
- MODULE=rxbinding-leanback
- MODULE=rxbinding-material
- MODULE=rxbinding-recyclerview
- MODULE=rxbinding-slidingpanelayout
- MODULE=rxbinding-swiperefreshlayout
- MODULE=rxbinding-viewpager
global:
- secure: "kgsT0j2b0GYbQjrDSdIYoh9lXOb2bAqA8gOx7ipegYLiNUuAjTeclw/3IFd5WpPNEhwTvDlb8Pwi/GYsXwYLdjysZUsj73a027swKAuXRBEjnBpfcvhEwKdoO5Ygoz/uH7TvcuCKzEz/bRKIglvn9PcTrzIHHZZIXa/mLU5otNE="
- secure: "XNvNiKfh2+JAHvbj7/jtaHKcu5FlN0fHwKwiDZYiCkTkG4kXsKlGtbQX4uk/RU4ZEe3pCPt1I6u66e5c57SLiDNMI0dnjdmSWL6Pcd1CoJVagYYq48TNgQARRe1zntXZvweRmqbfnsQiX5neLwaDj+UNM1yq6D3h2quPVrgoBBM="
branches:
except:
- gh-pages
notifications:
email: false
sudo: false
cache:
directories:
- $HOME/.gradle
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。