blob: edef6aa9a184b96f47db7618fd24d9e420b278cf [file] [log] [blame]
Gabriel Peal20dc13c2018-12-19 17:38:21 -08001# Migrated to bitrise
Gabriel Peal0ffb7162018-12-19 17:19:01 -08002
Felipe Limacb9ab002017-02-01 11:39:29 -08003language: android
Gabriel Peal69ab3f12017-12-11 16:35:38 -05004cache:
5 directories:
Gabriel Pealf675a552018-08-05 16:53:54 -07006 - "$HOME/.gradle/caches/"
7 - "$HOME/.gradle/wrapper/"
Gabriel Pealf675a552018-08-05 16:53:54 -07008 - "$HOME/.m2"
Gabriel Pealf675a552018-08-05 16:53:54 -07009 - "$HOME/.cache"
Gabriel Peal69ab3f12017-12-11 16:35:38 -050010before_install:
Gabriel Pealf675a552018-08-05 16:53:54 -070011- export TRAVIS_GIT_BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH;
12 else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
13- export GIT_SHA=$(git rev-parse HEAD)
14- export GIT_MERGE_BASE=$(git merge-base master)
15- echo GIT_SHA $GIT_SHA
16- echo GIT_MERGE_BASE $GIT_MERGE_BASE
Felipe Limacb9ab002017-02-01 11:39:29 -080017android:
18 components:
Gabriel Pealf675a552018-08-05 16:53:54 -070019 - tools
20 - platform-tools
21 - tools
Gabriel Pealc476cc62018-09-24 23:19:47 -070022 - build-tools-28.0.2
23 - android-28
Gabriel Pealf675a552018-08-05 16:53:54 -070024 - extra-android-m2repository
Felipe Limacb9ab002017-02-01 11:39:29 -080025jdk:
Gabriel Pealf675a552018-08-05 16:53:54 -070026- oraclejdk8
Felipe Limacb9ab002017-02-01 11:39:29 -080027branches:
28 except:
Gabriel Pealf675a552018-08-05 16:53:54 -070029 - gh-pages
Felipe Limacb9ab002017-02-01 11:39:29 -080030notifications:
31 email: false
Gabriel Peal6f2645a2018-07-25 21:36:46 -070032jobs:
33 include:
Gabriel Pealf675a552018-08-05 16:53:54 -070034 - stage: test
Gabriel Peal1f9ebfc2018-12-11 22:02:34 -080035 name: Test
36 script: "./gradlew lintRelease testReleaseUnitTest"