-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (30 loc) · 1.42 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
sudo: false
language: java
jdk:
- openjdk11
before_install:
- unset GEM_PATH
- echo "MAVEN_OPTS='-Xmx2g -XX:MaxPermSize=512m'" > ~/.mavenrc
script:
- git submodule update --init --recursive
- bash -c 'if [ "${TRAVIS_TAG}" ]; then mvn versions:set -DnewVersion=${TRAVIS_TAG} versions:commit; fi'
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- mvn test -B
- mvn clean install -DskipTests=true -Pdocker
deploy:
provider: releases
prerelease: true
api_key: "${VCR_DEPLOY_TOKEN}"
file: "target/vcr-${TRAVIS_TAG}.war"
skip_cleanup: true
on:
tags: true
notifications:
email:
on_success: change
on_failure: always
slack:
rooms:
secure: DkniT09qHva8zB74U5cRoobMplSZXHT11X7UKecrJ8+aqtWv95QvgJnpEMB+p0+44Sb+8Rtei6kFq3G9RrMd3KjHWBW5eaTatTeB46EJAXYkspDqdEsRR1OK100zgfDMym0TcphLjyPetY3YjvoipYm9PQd9ed/pIOQLmC3SDK8mcE0KD+bWVm8r3hGygpX/P8vQiGxjxKGUZpcsk2JCuUigTnMvGoqtO282u5k+P6pxALg4WcA0NUv2983IzD4qqTjl9NDk+i7kzksA5FY3PTh1Hpw7Ypp1cwWB30Fr99mCRl+lvGFvST6GfPy3Vrxp9/kcqnybm2k35Fv7nxmbRmh4cz0EdVl7MT7vlKSskYOMSndDq6rDaH1KggPDPHdZr9a6wPNrIWanG1fTI4WzGR8ZR7QfgmxWLVE7QwfxXeb05sVIjK7Idru47dojhYKEImflWMUTGtir7ydN0oVgp2cdHwX1ysco/kZe0VBsF2iyYsXCJh+MefOiJiAptGspfRQffb9mh2ukRkHVlGa71DC+XscKRJS8seukqVLd52RSJK08qVjwPXytJilWgV7TZXDdPpc0H1XAD8/ShtC4ogjGOgrGEIMBS3E8F5Q5fwNhDEyMXqQt2Pnrc983KA6VYTto24MT8SUxojEeY8Hx7hiTTUdQxT4+89BNLf+y0KM=
on_success: change # default: always
on_failure: always # default: always