Skip to content

Commit

Permalink
[travis] attempt to checkstyle with a different version on Java7
Browse files Browse the repository at this point in the history
  • Loading branch information
truthbk committed Jan 29, 2020
1 parent 5be086b commit 68f1749
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@ jdk:
- oraclejdk9
- oraclejdk11

install: mvn install -Dgpg.skip -Dcheckstyle.skip=true
jobs:
include:
- jdk: openjdk7
env: EXTRA_MVN="-Dcheckstyle.version=2.15"

script: mvn clean install -Dgpg.skip $EXTRA_MVN
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<checkstyle.config.location>style.xml</checkstyle.config.location>
<checkstyle.consoleOutput>true</checkstyle.consoleOutput>
<jdk.module.illegalAccess>deny</jdk.module.illegalAccess>
<checkstyle.version>3.1.0</checkstyle.version>
</properties>

<licenses>
Expand Down Expand Up @@ -201,7 +202,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.1.0</version>
<version>${checkstyle.version}</version>
<executions>
<execution>
<id>checkstyle</id>
Expand All @@ -228,7 +229,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.0.0</version>
<version>${checkstyle.version}</version>
<reportSets>
<reportSet>
<reports>
Expand Down

0 comments on commit 68f1749

Please sign in to comment.