KEYCLOAK-4407 Execute cross-dc tests selectively in travis
This commit is contained in:
parent
9b0930a289
commit
7a978ff3f6
1 changed files with 5 additions and 1 deletions
|
@ -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-<test-group-name>.
|
||||
## 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
|
||||
|
|
Loading…
Reference in a new issue