forked from airbnb/lottie-android
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
36 lines (35 loc) · 779 Bytes
/
.travis.yml
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
34
35
36
# Migrated to bitrise
language: android
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
- "$HOME/.m2"
- "$HOME/.cache"
before_install:
- export TRAVIS_GIT_BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH;
else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
- export GIT_SHA=$(git rev-parse HEAD)
- export GIT_MERGE_BASE=$(git merge-base master)
- echo GIT_SHA $GIT_SHA
- echo GIT_MERGE_BASE $GIT_MERGE_BASE
android:
components:
- tools
- platform-tools
- tools
- build-tools-28.0.2
- android-28
- extra-android-m2repository
jdk:
- oraclejdk8
branches:
except:
- gh-pages
notifications:
email: false
jobs:
include:
- stage: test
name: Test
script: "./gradlew lintRelease testReleaseUnitTest"