-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (49 loc) · 2.63 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
# use xenial distribution
dist: xenial
language: java
jdk: openjdk8
cache:
directories:
- "$HOME/.m2/repository"
branches:
only:
- master
- development
before_install: unset _JAVA_OPTIONS
install: true
before_script: if [ "$VAADIN_CHARTS_LICENSE_CODE" != "" ]; then echo "$VAADIN_CHARTS_LICENSE_CODE"
> ~/.vaadin.charts.developer.license; fi;
script: mvn --quiet --activate-profiles !development-build,!release-build --settings
.travis.settings.xml clean cobertura:cobertura install
after_success:
- bash <(curl -s https://codecov.io/bash)
- mvn --quiet --activate-profiles !development-build,!release-build --settings .travis.settings.xml
site
deploy:
- skip_cleanup: true
provider: script
script: mvn --quiet --activate-profiles development-build,!release-build --settings
.travis.settings.xml deploy
on:
branch: development
condition: '"$TRAVIS_EVENT_TYPE" = "push"'
- skip_cleanup: true
provider: script
script: mvn --quiet --activate-profiles !development-build,release-build --settings
.travis.settings.xml deploy
on:
branch: master
condition: '"$TRAVIS_EVENT_TYPE" = "push"'
notifications:
email:
on_success: never
on_failure: never
slack:
on_success: never
on_failure: always
rooms:
- secure: "***"
env:
global:
- secure: mBW+Dr2B+uiOS3TvwT2lZXoFj456uW37ysug4JrlIfTA+MyzKT6RuciuV8GYBb8AvZAe6bcYIc4Td6welKFUuyem+03WkcmQuvclfD1TFDxZbZUbLL1TBWLGs3jt+FK3pFh//H1cnYcDtfDEoQBKUVv+pc+O/uM84HMsVWmtgNpZKI1/gZyUR4VVr8x+aGzgwBY5j7RAoGQyFWiYGXaB852F4okQf9EWrAF8hEQkIYp1p4Rig+1VnnbOxkxXGTsYIt5+3CHrPfS3IdZFfNZcTlwVN+mC22K5WorwRMX0UkeXD+FqRMRJkssZ1Q82NECihr/LFaSbgwY/7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