Skip to content

Commit b518e10

Browse files
authored
Merge pull request #6 from abranhe/testing-ci
fixes in testing ci
2 parents 27eb47b + 0a28f83 commit b518e10

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

.travis.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ sudo: false
55
jdk:
66
- oraclejdk8
77

8-
notifications:
9-
email: false
8+
install:
9+
mvn --settings .util/.maven.xml install -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B -V
10+
11+
script:
12+
- mvn test -B
1013

1114
env:
1215
global:
@@ -15,3 +18,6 @@ env:
1518
cache:
1619
directories:
1720
- "$HOME/.m2"
21+
22+
notifications:
23+
email: false

.util/.maven.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
4+
http://maven.apache.org/xsd/settings-1.0.0.xsd">
5+
<servers>
6+
<server>
7+
<!-- Maven Central Deployment -->
8+
<id>ossrh</id>
9+
<username>${env.SONATYPE_USERNAME}</username>
10+
<password>${env.SONATYPE_PASSWORD}</password>
11+
</server>
12+
</servers>
13+
14+
<profiles>
15+
<profile>
16+
<id>ossrh</id>
17+
<activation>
18+
<activeByDefault>true</activeByDefault>
19+
</activation>
20+
<properties>
21+
<gpg.executable>${env.GPG_EXECUTABLE}</gpg.executable>
22+
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
23+
</properties>
24+
</profile>
25+
</profiles>
26+
</settings>

0 commit comments

Comments
 (0)