Enable Travis CI Builds

Added the Travis CI configuration to enable continous integration
testing for common JDK version > 1.7.

Move gpg signing to its own profile to avoid causing issues with the
test, and integration-test phases.
This commit is contained in:
Pfifer, Justin 2016-07-20 13:14:25 -07:00
parent 33cec94530
commit a6931dfb15
2 changed files with 29 additions and 14 deletions

6
.travis.yml Normal file
View file

@ -0,0 +1,6 @@
language: java
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
sudo: false

37
pom.xml
View file

@ -131,20 +131,6 @@
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
@ -176,5 +162,28 @@
</plugins>
</build>
<profiles>
<profile>
<id>publishing</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>