keycloak-aplcache

Changes

.travis.yml 2(+1 -1)

pom.xml 13(+12 -1)

Details

.travis.yml 2(+1 -1)

diff --git a/.travis.yml b/.travis.yml
index 57147b0..ec6ed80 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

pom.xml 13(+12 -1)

diff --git a/pom.xml b/pom.xml
index eabcaa9..4f128e2 100755
--- a/pom.xml
+++ b/pom.xml
@@ -192,7 +192,6 @@
         <module>adapters</module>
         <module>authz</module>
         <module>examples</module>
-        <module>testsuite</module>
         <module>misc</module>
     </modules>
 
@@ -1541,6 +1540,18 @@
         </profile>
 
         <profile>
+            <id>testsuite</id>
+            <activation>
+                <property>
+                    <name>!skipTestsuite</name>
+                </property>
+            </activation>
+            <modules>
+                <module>testsuite</module>
+            </modules>
+        </profile>
+
+        <profile>
             <id>distribution</id>
             <modules>
                 <module>distribution</module>
diff --git a/travis-run-tests.sh b/travis-run-tests.sh
index cf5f03b..67c8655 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