From 7a978ff3f68023debb5bbdb1fb782a0b1697fa5f Mon Sep 17 00:00:00 2001 From: Hynek Mlnarik Date: Mon, 30 Jul 2018 13:00:44 +0200 Subject: [PATCH] KEYCLOAK-4407 Execute cross-dc tests selectively in travis --- travis-run-tests.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/travis-run-tests.sh b/travis-run-tests.sh index c3e476026b..a43c456f7d 100755 --- a/travis-run-tests.sh +++ b/travis-run-tests.sh @@ -25,7 +25,7 @@ function should-tests-run() { ## You can define a precondition for running a particular test group by defining function should-tests-run-. ## Its return value determines whether the test group should run. -function should-tests-run-crossdc() { +function should-tests-run-crossdc-server() { # If this is not a pull request, it is build as a branch update. In that case test everything [ "$TRAVIS_PULL_REQUEST" = "false" ] && return 0 @@ -33,6 +33,10 @@ function should-tests-run-crossdc() { egrep -i 'crossdc|infinispan' } +function should-tests-run-crossdc-adapter() { + should-tests-run-crossdc-server +} + if ! should-tests-run; then echo "Skipping all tests (including group '$1')" exit 0