-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
32 lines (28 loc) · 858 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
language: java
jdk:
- oraclejdk8
script: "mvn clean cobertura:cobertura"
after_success:
- bash <(curl -s https://codecov.io/bash)
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 --batch --yes; fi
- if [ ! -z "$GPG_OWNERTRUST" ]; then echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust --batch --yes; fi
deploy:
-
provider: script
script: .travis/deploy.sh
skip_cleanup: true
on:
repo: ganchix/morphia-spring-boot-starter
branch: master
jdk: oraclejdk8
-
provider: script
script: .travis/deploy.sh
skip_cleanup: true
on:
repo: ganchix/morphia-spring-boot-starter
tags: true
jdk: oraclejdk8