forked from jirutka/validator-collection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (35 loc) · 1.03 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
sudo: false
language: java
jdk:
- openjdk7
- oraclejdk8
env:
global:
secure: "KncKGamS99AWFQNs2L4a3s65BdNvP07yD/fulNZA+tsBNVLgxsieXkRdzrA5Efxbd5PvnBJuLkYgjPFSFh4uPNwijH5PnZMsSYlnSFIbLyGAIkWx2cJeUoDXOOrbHIeRmCDS6gZjs9sUZHrVlhF9B/19txf4XUjpd/6slqdsEng=" # BINTRAY_API_KEY
matrix:
- HV_VERSION=4.3.2.Final
- HV_VERSION=5.0.3.Final DEPLOY=yes
- HV_VERSION=5.1.3.Final
- HV_VERSION=5.2.5.Final
- HV_VERSION=5.3.5.Final
- HV_VERSION=5.4.1.Final
# Cache local Maven repository
cache:
directories:
- $HOME/.m2
before_cache:
- rm -Rf ~/.m2/repository/cz/jirutka/validator/validator-collection
install:
- mvn install -Ptest-different-hv-version -Dhv.version.test=${HV_VERSION} -DskipTests=true --batch-mode
script:
- mvn verify -Ptest-different-hv-version -Dhv.version.test=${HV_VERSION} --batch-mode
after_success:
- mvn jacoco:report coveralls:report
deploy:
provider: script
script: script/travis-deploy
skip_cleanup: true
on:
branch: master
jdk: oraclejdk8
condition: "$DEPLOY = yes"