-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
82 lines (71 loc) · 2.99 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
language: android
branches:
except:
#- /^(?i:feature)-.*$/
#- /^(?i:release)-.*$/
jdk:
- openjdk8
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
- platform-tools
- tools
# The BuildTools version used by your project
- build-tools-28.0.2
# The SDK version used to compile your project
- android-28
# Additional components
- extra-android-m2repository
- extra-google-m2repository
- extra-android-support
- addon-google_apis-google-28
- extra-google-google_play_services
# Specify at least one system image,
# if you need to run emulator(s) during your tests
# - sys-img-armeabi-v7a-android-25
# - sys-img-armeabi-v7a-android-23
notifications:
email:
on_success: never
on_failure: never
slack:
on_failure: change
on_success: change
rooms:
- openbase-org:vGz7LO4CvGoGMneYkEm3ON7E#build
#- openbase-org:vGz7LO4CvGoGMneYkEm3ON7E#bco-bcomfy
before_install:
- yes | sdkmanager "platforms;android-27"
- yes | sdkmanager "platforms;android-28"
#- git clone -b feature-marshmallow-support --single-branch https://github.com/openbase/jps.git
#- cd jps
#- mvn install -DskipTests=true -Dmaven.test.skip=true -Dlicense.skipAddThirdParty=true -Dlicense.skipUpdateProjectLicense=true -Dlicense.skipDownloadLicenses=true -Dlicense.skipCheckLicense=true -Dmaven.license.skip=true
#- cd ..
#- git clone -b feature-marshmallow-support --single-branch https://github.com/openbase/jul.git
#- cd jul
#- mvn install -DskipTests=true -Dmaven.test.skip=true -Dlicense.skipAddThirdParty=true -Dlicense.skipUpdateProjectLicense=true -Dlicense.skipDownloadLicenses=true -Dlicense.skipCheckLicense=true -Dmaven.license.skip=true
#- cd ..
#- git clone -b feature-marshmallow-support --single-branch https://github.com/openbase/bco.registry.git
#- cd bco.registry
#- mvn install -DskipTests=true -Dmaven.test.skip=true -Dlicense.skipAddThirdParty=true -Dlicense.skipUpdateProjectLicense=true -Dlicense.skipDownloadLicenses=true -Dlicense.skipCheckLicense=true -Dmaven.license.skip=true
#- cd ..
#- git clone -b feature-marshmallow-support --single-branch https://github.com/openbase/bco.dal.git
#- cd bco.dal
#- mvn install -DskipTests=true -Dmaven.test.skip=true -Dlicense.skipAddThirdParty=true -Dlicense.skipUpdateProjectLicense=true -Dlicense.skipDownloadLicenses=true -Dlicense.skipCheckLicense=true -Dmaven.license.skip=true
#- cd ..
# - echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import
# - echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust
install:
- travis_wait 60 ./gradlew build connectedCheck
deploy:
- provider: script
script: .travis/deploy.sh
on:
repo: openbase/bco.bcomfy
branch: master
- provider: script
script: .travis/deploy.sh
on:
repo: openbase/bco.bcomfy
tags: true