forked from mmnaseri/spring-data-mock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
22 lines (22 loc) · 1.44 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
language: java
jdk:
- openjdk8
- openjdk9
- openjdk10
- openjdk11
script:
- cd spring-data-mock
- mvn test -B
after_success:
- cd spring-data-mock-build
- mvn -P coverage clean cobertura:cobertura coveralls:report
- '[[ $TRAVIS_BRANCH == "master" && ( "x${TRAVIS_PULL_REQUEST}" == "xfalse" || "x${TRAVIS_PULL_REQUEST}" == "x" ) && ( "x$(echo $JAVA_HOME | grep -o 8)" == "x8" ) ]] && sudo apt-get install gnupg2'
- '[[ $TRAVIS_BRANCH == "master" && ( "x${TRAVIS_PULL_REQUEST}" == "xfalse" || "x${TRAVIS_PULL_REQUEST}" == "x" ) && ( "x$(echo $JAVA_HOME | grep -o 8)" == "x8" ) ]] && bash ../deployment/deploy.sh eb1a6f34f056 ../deployment/key.asc.enc ../deployment/settings.xml'
os: linux
dist: xenial
env:
global:
- secure: DPkao3yJ4hhEsUOfs2VQJ8WCV3VdR3ToFiGB1l461PUstjaytTeXYK3bW2PmZqYJs6Hxxwyl8UHFvgBvWLb/yQV/dqyyJAV8XRb9UC37e4ddLoi8HE7NSGQIiXq0tySiMaOTyd2NtRTepfNAMEMDP746Nrox1giPEq1FPv+K98o=
- secure: Q5vJOKht3ZKs9I/HOaAPL+9AUMNdw52/jVhOPFqGDIkcOMXoDMfGaQMlDoZE3DZ0dBl3y1RtGX1tQFxcBkNWJCAzEv26coV7WfCTEfQbLE7nWKKUx2wt/MxbXZqSs2A+NsAdQUax2qYVv6IXwtqO7q8Cr5Z1IkNtaXQBSz6dgjk=
- secure: EPOGLKvhrEhy2Zyo7WA1488uLmJ8cONz635DJEkneRbRpnb0Vmjvs9WDvEXMw/mCTnbLJ5bnVTCQrSB0eE+5uRN4WMAlvMAJog4GOmoyajMDEZDp3vmNqG/njXc8GT8/3kYgmoW7skhWlq947uB9ItU3c73VD6XGUl54cqP72CM=
- secure: E6w6cl60RNqo0GJuoFeFzUdg8S0b6X2HAnZ/5AGOWBnBcnjZxdBlCa+wDQNw89uCRll9NC38rCCcyJM4jUJ+uI205YfijgYzhVIEQH3x8cSf8+gt95A4z8hafEayPGwlb7buDaKoQR3n7RMkuyFTjc0rxjAICnv0MljIbYiDRAQ=