summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 268fd60d4c60e4616453f225e1eadd7f7b801eeb (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: android
dist: trusty

jdk:
  - openjdk8

android:
  components:
    - tools
    - build-tools-28.0.3
    - extra-android-m2repository
  licenses:
    - ".+"

before_install:
  - yes | sdkmanager "platforms;android-29"

script:
  - "./gradlew build test lintDebug -Dpre-dex=false"

notifications:
  email: false

sudo: false

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/