diff --git a/.travis.yml b/.travis.yml index 02fdd28c62..5d72d91e47 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,6 +23,8 @@ install: true language: java jdk: - oraclejdk8 +services: + - docker before_install: - export M2_HOME=$PWD/apache-maven-3.3.9 - export PATH=$M2_HOME/bin:$PATH @@ -44,6 +46,11 @@ matrix: - time mvn install -T 2C -q -DskipTests=true -Dmaven.javadoc.skip=true -B -V -pl '!:metron-config,!:metron-alerts' - time mvn surefire:test@integration-tests + - name: Build RPMs + script: + - time mvn install -T 2C -q -DskipTests=true -Dmaven.javadoc.skip=true -B -V + - time mvn package -Pbuild-rpms -q -DskipTests=true -Dmaven.javadoc.skip=true -B -V + - name: Alerts UI Tests script: - time mvn install -T 2C -q -DskipTests=true -Dmaven.javadoc.skip=true -B -V -pl ':metron-alerts'