forked from fossasia/open-event-organizer-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (32 loc) · 750 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
language: android
dist: trusty
sudo: false
jdk:
- oraclejdk8
android:
components:
- tools
- android-28
- build-tools-28.0.3
- platform-tools
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- "${TRAVIS_BUILD_DIR}/gradle/caches/"
- "${TRAVIS_BUILD_DIR}/gradle/wrapper/dists/"
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
before_script:
- bash scripts/prep-key.sh
script:
- ./gradlew assemblePlayStoreRelease
- ./gradlew assembleFdroidRelease
- ./gradlew testPlayStoreReleaseUnitTestCoverage
after_success:
- bash <(curl -s https://codecov.io/bash)
- bash scripts/update-apk.sh
branches:
only:
- master
- development