Skip to content

Commit

Permalink
Merge pull request #27 from EmmanuelMess/feature-travis
Browse files Browse the repository at this point in the history
Added travis
  • Loading branch information
EmmanuelMess authored Dec 20, 2018
2 parents 1be7c1e + a81a437 commit 816cdca
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
language: android

jdk:
- oraclejdk8

android:
components:
- tools
- platform-tools
- build-tools-28.0.3
- android-28
- extra-google-m2repository
- extra-android-m2repository

sudo: false

before_script:
- chmod +x gradlew

script:
- ./gradlew --no-daemon build

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

0 comments on commit 816cdca

Please sign in to comment.