forked from federicoiosue/Omni-Notes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (38 loc) · 729 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
37
38
sudo: true
language: android
dist: trusty
install: true
addons:
sonarcloud:
organization: federicoiosue-github
token: $SONAR_TOKEN
branches:
- develop
jdk:
- oraclejdk8
branches:
only:
- develop
- master
- /^feature/.*$/
- /^hotfix/.*$/
- /^release/.*$/
android:
components:
- tools
- tools
- platform-tools
- build-tools-27.0.3
- android-23
- extra-google-m2repository
- extra-android-m2repository
licenses:
- android-sdk-preview-license-.+
- android-sdk-license-.+
- google-gdk-license-.+
before_install:
- yes | sdkmanager "platforms;android-27"
script:
- ./gradlew -S clean build jacocoTestReport sonarqube
after_success:
- bash <(curl -s https://codecov.io/bash)