-
Notifications
You must be signed in to change notification settings - Fork 243
/
.travis.yml
37 lines (29 loc) · 935 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
language: java
sudo: false
jdk:
- openjdk8
install:
- mvn --settings .travis/settings.xml install -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B -V
before_install:
- if [ ! -z "$GPG_SECRET_KEYS" ]; then echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import; fi
- if [ ! -z "$GPG_OWNERTRUST" ]; then echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust; fi
after_success:
- mvn clean cobertura:cobertura -Dcobertura.report.format=xml org.eluder.coveralls:coveralls-maven-plugin:4.3.0:report
notifications:
email: false
deploy:
- provider: script
script: .travis/deploy.sh
skip_cleanup: true
on:
repo: VerbalExpressions/JavaVerbalExpressions
branch: master
- provider: script
script: .travis/deploy.sh
skip_cleanup: true
on:
repo: VerbalExpressions/JavaVerbalExpressions
tags: true
cache:
directories:
- $HOME/.m2