Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit fe25978

Browse files
committed
fix: Travis: some layers needlessly re-run switch-client
Fixes #6466
1 parent a366a7d commit fe25978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ install:
4747
- if [ -n "$NEEDS_MINIO" ]; then ./tools/travis/minio.sh & minio=$!; fi
4848
- npm ci
4949
- if [ -n "$NEEDS_IBMCLOUD" ]; then ./tools/travis/ibmcloud.sh && ./tools/travis/ibmcloud-plugin-build-install.sh; fi
50-
- if [ "$CLIENT" != "default" ]; then ./bin/switch-client.sh ${CLIENT-default}; fi
50+
- if [ -n "$CLIENT" ] && [ "$CLIENT" != "default" ]; then ./bin/switch-client.sh ${CLIENT-default}; fi
5151
- ./tools/codecov/instrument.sh
5252
- if [ "$MOCHA_RUN_TARGET" = "webpack" ]; then export KUI_USE_PROXY=true; if [ "$DEPLOY" = "cluster" ]; then npx kui-build-webpack && npx kui-build-docker-with-proxy && (kui-run-cproxy &); else npm run watch:webpack; fi; elif [ -z "$TEST_FROM_BUILD" ]; then npm run watch:electron; else npm run build:electron:$TRAVIS_OS_NAME:${TRAVIS_CPU_ARCH-amd64}; fi
5353
- if [ -n "$ow" ]; then wait $ow; fi

0 commit comments

Comments
 (0)