Run adapter tests in different group in Travis

This commit is contained in:
mhajas 2018-11-02 13:17:50 +01:00 committed by Pavel Drozd
parent 6d04247947
commit 6450a457d0
2 changed files with 6 additions and 1 deletions

View file

@ -13,6 +13,7 @@ env:
- TESTS=server-group2
- TESTS=server-group3
- TESTS=server-group4
- TESTS=adapter-tests
- TESTS=old
- TESTS=crossdc-server
- TESTS=crossdc-adapter

View file

@ -65,7 +65,7 @@ if [ $1 == "unit" ]; then
fi
if [ $1 == "server-group1" ]; then
run-server-tests org.keycloak.testsuite.ad*.**.*Test
run-server-tests org.keycloak.testsuite.adm.**.*Test,org.keycloak.testsuite.add.**.*Test
fi
if [ $1 == "server-group2" ]; then
@ -80,6 +80,10 @@ if [ $1 == "server-group4" ]; then
run-server-tests org.keycloak.testsuite.k*.**.*Test,org.keycloak.testsuite.m*.**.*Test,org.keycloak.testsuite.o*.**.*Test,org.keycloak.testsuite.s*.**.*Test,org.keycloak.testsuite.u*.**.*Test
fi
if [ $1 == "adapter-tests" ]; then
run-server-tests org.keycloak.testsuite.adapter.**.*Test
fi
if [ $1 == "crossdc-server" ]; then
cd testsuite/integration-arquillian
mvn install -B -nsu -Pauth-servers-crossdc-jboss,auth-server-wildfly,cache-server-infinispan -DskipTests