-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
41 lines (33 loc) · 927 Bytes
/
.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
language: java
jdk:
- openjdk8
services:
- docker
git:
submodules: false
cache:
directories:
- .autoconf
- $HOME/.m2
install:
- mvn --settings .travis/settings.xml clean install -DskipTests -Dmaven.javadoc.skip=true -B -V
script:
- /bin/bash .travis/build.sh
before_deploy:
- echo $GPG_SECRET_KEY | base64 --decode | $GPG_EXECUTABLE --import
- echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust
deploy:
-
skip_cleanup: true
provider: script
script: /bin/bash .travis/deploy.sh
on:
tags: true
# matches: vX.Y.Z, vX.Y.Z-A, vX.Y.Z-RCA, vX.Y.Z-A-B.C.D, vX.Y.Z-A-B.C.D-E, vX.Y.Z-RCA-B.C.D-E
condition: "$TRAVIS_TAG =~ ^v([[:digit:]]+\\.)+[[:digit:]]+(-(RC)?[[:digit:]]+)?(-([[:digit:]]+\\.)+[[:digit:]]+(-[[:digit:]]+)?)?$"
-
skip_cleanup: true
provider: script
script: /bin/bash .travis/deploy.sh
on:
branch: develop