Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite Travis-CI configuration #436

Merged
merged 2 commits into from Oct 14, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
44 changes: 21 additions & 23 deletions .travis.yml
@@ -1,30 +1,28 @@
language: android
jdk: oraclejdk8

before_install:
- yes | sdkmanager "platforms;android-27"
jdk:
- openjdk8

licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
android:
components:
- tools
- build-tools-28.0.2
- android-28
- extra-google-m2repository
- extra-android-m2repository
licenses:
- ".+"

cache:
directories:
- $HOME/.gradle

# ok no tests for now
# - sys-img-x86-android-22
script:
- "./gradlew clean build test lintDebug -Dpre-dex=false"

install:
- echo y | android update sdk -u -a -t tools
- echo y | android update sdk -u -a -t platform-tools
- echo y | android update sdk -u -a -t build-tools-27.0.1
- echo y | android update sdk -u -a -t android-27
- echo y | android update sdk -u -a -t extra-google-m2repository
- echo y | android update sdk -u -a -t extra-android-m2repository
notifications:
email: false

env:
- GRADLE_OPTS="-Xms40m -Xmx3g -XX:MaxPermSize=3g"
sudo: false

script: "./gradlew clean build test lintDebug -Dpre-dex=false"
cache:
directories:
- "$HOME/.m2"
- "$HOME/.gradle"
- "$ANDROID_HOME"