diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 031bafc..1f58140 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,4 @@
build:
script:
+ - mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp checkstyle:check
- mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp test
diff --git a/pom.xml b/pom.xml
index c91e15a..b435ef6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -161,19 +161,10 @@
3.1.1
${project.build.directory}/../src/test/resources/checkstyle.xml
- true
- true
+ true
+ warning
${project.build.directory}/../src/main/java
-
-
- validate
- validate
-
- check
-
-
-