Skip to content

Commit d786813

Browse files
committed
adding magic to travis commands
1 parent de85870 commit d786813

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
language: java
2+
23
jdk:
34
- openjdk7
45
- oraclejdk7
56
- oraclejdk8
7+
68
addons:
79
postgresql: "9.5"
810

@@ -12,7 +14,7 @@ sudo: false
1214
# stop mvn install from running
1315
install: true
1416

15-
script: mvn -B -V package javadoc:javadoc test
17+
script: mvn -B -V package $( [[ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ]] && echo javadoc:javadoc ) test
1618

1719
after_success:
1820
- mvn -B -V clean test jacoco:report coveralls:report

pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@
8282
<artifactId>maven-resources-plugin</artifactId>
8383
<version>3.0.1</version>
8484
</plugin>
85-
<plugin>
86-
<groupId>org.apache.maven.plugins</groupId>
87-
<artifactId>maven-plugin-plugin</artifactId>
88-
<version>3.4</version>
89-
</plugin>
9085
<plugin>
9186
<groupId>org.eluder.coveralls</groupId>
9287
<artifactId>coveralls-maven-plugin</artifactId>

0 commit comments

Comments
 (0)