-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
32 lines (32 loc) · 923 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
language: java
jdk:
- oraclejdk8
- openjdk7
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 coveralls:report -DrepoToken=${COVERALL_TOKEN}
addons:
apt:
packages:
- libxml2-utils
deploy:
-
provider: script
script: .travis/deploy-jars.sh
skip_cleanup: true
on:
repo: marcospassos/java-php-serializer
tags: true
jdk: oraclejdk8
-
provider: script
script: .travis/deploy-javadocs.sh
skip_cleanup: true
on:
repo: marcospassos/java-php-serializer
tags: true
jdk: oraclejdk8