forked from cqframework/cqf-tooling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (44 loc) · 2.52 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
language: java
jdk: openjdk11
os: linux
dist: xenial
cache:
timeout: 180
directories:
- "$HOME/.m2/repository"
install:
- mvn install -U -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
- if [[ "$TRAVIS_BRANCH" =~ master* ]]; then mvn test -B -P release; fi
- if ! [[ "$TRAVIS_BRANCH" =~ master* ]]; then mvn test -B; fi
before_deploy:
- if [[ "$TRAVIS_BRANCH" =~ master* ]]; then echo $GPG_SECRET_KEYS | base64 --decode
| $GPG_EXECUTABLE --import; fi
- if [[ "$TRAVIS_BRANCH" =~ master* ]]; then echo $GPG_OWNERTRUST | base64 --decode
| $GPG_EXECUTABLE --import-ownertrust; fi
deploy:
- provider: script
script: cp .travis.settings.xml $HOME/.m2/settings.xml && mvn deploy -DskipTests=true
cleanup: false
skip_cleanup: true
on:
branch: develop
- provider: script
script: cp .travis.settings.xml $HOME/.m2/settings.xml && mvn deploy -P release
-DskipTests=true
cleanup: false
skip_cleanup: true
on:
branch: master
before_cache:
- rm -rf $HOME/.m2/repository/org/opencds/cqf/tooling
notifications:
slack:
- rooms:
- secure: cHXhQxhoFefdtRDCNTl5dWvoFamLTw3K/NodTqDHK16fGwU50AaESt+UW8/rUMTpOYpnh8Ju9Aa6EqD3W1VcuTvyIsYtYc5VaIo5f8vVdx8ABawe/GDoGEMcxfuRlkzvQXUwlOG17QG4wDC9OJp5sO9FqcgYX41zBHMx0qugZtHMix2d6iWpycgz6I5dwFqK8nItSEIn0+eaG0oSKXIl/3pHx16YaShVP79na6Q+GE0BsTE0WbDU2JVrVikrJO1h4vHHzV65TdpI5xnFFBkZWdBdpsAuvaMXr5ZIOrh2rxeESElC+WSHeYla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qJBKHI=
on_success: never
on_failure: always