-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (47 loc) · 1.13 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
language: android
jdk:
- oraclejdk8
android:
components:
- tools
- platform-tools
- build-tools-26.0.2
- android-26
- extra-android-support
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
licenses:
- 'android-sdk-license-c81a61d9'
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
- 'intel-android-extra-license.+'
sudo: false
before_install:
- chmod +x gradlew
- touch local.properties
- pip install --user codecov
script:
- ./gradlew --daemon build jacocoTestReport assembleAndroidTest
- ./gradlew --daemon check
after_success:
- bash <(curl -s https://codecov.io/bash)
- codecov
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
deploy:
provider: releases
file: yourapp.apk
skip_cleanup: true
api_key: "084404f5da365d06de7b45d662b734d5ccb62e48"
on:
repo: pavlidisnick/DiscountsAroundMe
tags: true
jdk: oraclejdk8