-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
47 lines (41 loc) · 1.11 KB
/
.travis.yml
File metadata and controls
47 lines (41 loc) · 1.11 KB
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
language: android
sudo: true
cache:
directories:
- ${TRAVIS_BUILD_DIR}/gradle/caches/
- ${TRAVIS_BUILD_DIR}/gradle/wrapper/dists/
android:
components:
# The BuildTools version used by project
- tools
- platform-tools
- tools
- build-tools-26.0.2
# The SDK version used to complie project
- android-26
- extra-google-m2repository
- extra-android-m2repository
#Additional components
jdk:
- oraclejdk8
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
script:
- chmod +x ./Simternship/gradlew
- cd Simternship
- echo "Build project"
- ./gradlew build
- echo "Run sonarqube -- push to sonarcloud"
- ./gradlew sonarqube -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=madewithpaper-github -Dsonar.login="$SONAR_TOKEN" -Dsonar.branch.name=master
notifications:
email:
recipients:
- huangjacky.1996@gmail.com
- anniemo1002@gmail.com
- dziermanfelix@gmail.com
- mdbrown7079@gmail.com
- joeldentici@gmail.com
on_success: change
on_failure: change