diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..041680f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: java +jdk: oraclejdk8 + +# default Travis install script with accessExternalSchema added to the end +install: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Djavax.xml.accessExternalSchema=all + +script: + - mvn test --batch-mode -Djavax.xml.accessExternalSchema=all + - mvn checkstyle:check --batch-mode --fail-never diff --git a/pom.xml b/pom.xml index d875966..0484ee6 100644 --- a/pom.xml +++ b/pom.xml @@ -32,7 +32,7 @@ 2.0.4-SNAPSHOT pom CoursePortlet - + 3.0.0 @@ -52,7 +52,7 @@ 0.6.4 1.0.29 1.7.2 - + 1.6 1.6 UTF-8 @@ -378,4 +378,16 @@ - \ No newline at end of file + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.17 + + google_checks.xml + + + + +