From 85592537c3c6de44bf6fd339842b1892454d4eb1 Mon Sep 17 00:00:00 2001 From: Nick Allen Date: Mon, 2 Dec 2019 15:13:48 -0500 Subject: [PATCH 1/2] METRON-885 Build RPMs in Travis --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 02fdd28c62..30d07074c4 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,12 @@ 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 + - find metron-deployment/packaging/docker/rpm-docker/ -name '*.rpm' + - name: Alerts UI Tests script: - time mvn install -T 2C -q -DskipTests=true -Dmaven.javadoc.skip=true -B -V -pl ':metron-alerts' From 2fec6c7b6162f07e1cc80a7867c317f9b8cc1c34 Mon Sep 17 00:00:00 2001 From: Nick Allen Date: Mon, 2 Dec 2019 17:09:23 -0500 Subject: [PATCH 2/2] Remove a debug line --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 30d07074c4..5d72d91e47 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,7 +50,6 @@ matrix: 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 - - find metron-deployment/packaging/docker/rpm-docker/ -name '*.rpm' - name: Alerts UI Tests script: