Skip to content

Commit

Permalink
Merge pull request #124 from eighthave/master
Browse files Browse the repository at this point in the history
small build fixes
  • Loading branch information
n8fr8 committed Dec 12, 2017
2 parents e0b47cd + e54fc15 commit be2e6de
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .travis.yml
@@ -0,0 +1,35 @@
sudo: false

language: android

env:
global:
# switch glibc to a memory conserving mode
- MALLOC_ARENA_MAX=2
# wait 5 minutes for adb to connect to emulator. Travis-ci cancels a
# stalled build after 10 minutes, so this should be shorter than that so
# there is time for the build to report the error.
- ADB_INSTALL_TIMEOUT=5

jdk:
- openjdk8

android:
components:
- tools
- platform-tools
- extra-android-m2repository
- build-tools-26.0.2
- android-25
licenses:
# only approve the free software licenses
- 'android-sdk-preview-license-52d11cd2'
- 'android-sdk-license-.+'

script:
# 'assemble' everything and run all checks that do not require a device/emulator
- ./gradlew build
- ./make-release-build

after_failure:
- find * -name lint-results.xml | xargs cat
3 changes: 2 additions & 1 deletion build.gradle
Expand Up @@ -2,9 +2,10 @@
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
classpath 'com.android.tools.build:gradle:3.0.1'
}
}

Expand Down
1 change: 1 addition & 0 deletions gradle/wrapper/gradle-wrapper.properties
Expand Up @@ -4,3 +4,4 @@ distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
distributionSha256Sum=5c07b3bac2209fbc98fb1fdf6fd831f72429cdf8c503807404eae03d8c8099e5

0 comments on commit be2e6de

Please sign in to comment.