From f0a0b553e536a00b061b6b61baa6569622a604cf Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Mon, 8 May 2017 14:35:17 +0200 Subject: [PATCH] KEYCLOAK-4870 Travis doesn't run unit tests --- .travis.yml | 2 +- pom.xml | 13 ++++++++++++- travis-run-tests.sh | 2 ++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 57147b004f..ec6ed80dac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,7 @@ before_script: - export MAVEN_SKIP_RC=true install: - - travis_wait 60 mvn install --no-snapshot-updates -Pdistribution -DskipTests=true -B -V -q + - travis_wait 60 mvn install --no-snapshot-updates -Pdistribution -DskipTestsuite -B -V -q script: - ./travis-run-tests.sh $TESTS diff --git a/pom.xml b/pom.xml index eabcaa981e..4f128e29b5 100755 --- a/pom.xml +++ b/pom.xml @@ -192,7 +192,6 @@ adapters authz examples - testsuite misc @@ -1540,6 +1539,18 @@ + + testsuite + + + !skipTestsuite + + + + testsuite + + + distribution diff --git a/travis-run-tests.sh b/travis-run-tests.sh index cf5f03b90c..67c8655fd9 100755 --- a/travis-run-tests.sh +++ b/travis-run-tests.sh @@ -1,5 +1,7 @@ #!/bin/bash -e +travis_wait 60 mvn install --no-snapshot-updates -DskipTests=true -B -V -q -f testsuite + if [ $1 == "old" ]; then mvn test -B --no-snapshot-updates -f testsuite/integration mvn test -B --no-snapshot-updates -f testsuite/jetty