diff --git a/.travis.yml b/.travis.yml
index 4e3fd5356..44a34a88c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,7 +22,7 @@ jdk:
- oraclejdk8
script:
- - mvn test javadoc:javadoc -B
+ - mvn test checkstyle:check javadoc:javadoc -B
after_success:
- mvn clean apache-rat:check cobertura:cobertura coveralls:report
diff --git a/pom.xml b/pom.xml
index c4049c999..fc751811f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -576,6 +576,7 @@
2.8
+ 2.17
@@ -646,6 +647,14 @@
+
+ maven-checkstyle-plugin
+ ${checkstyle.plugin.version}
+
+ ${basedir}/checkstyle.xml
+ false
+
+
@@ -654,7 +663,7 @@
maven-checkstyle-plugin
- 2.17
+ ${checkstyle.plugin.version}
${basedir}/checkstyle.xml
false