From 62f5a34340f3fbe4d62b74d924e8f6506501dffc Mon Sep 17 00:00:00 2001 From: Max Prokhorov Date: Mon, 30 Mar 2020 14:32:43 +0300 Subject: [PATCH] ci: capitalization fix (#2203) --- travis_install.sh | 6 +++--- travis_script.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/travis_install.sh b/travis_install.sh index 7aa28552..17da8039 100755 --- a/travis_install.sh +++ b/travis_install.sh @@ -15,11 +15,11 @@ pio_install() { cd code -if [ "${TRAVIS_BUILD_STAGE_NAME}" = "Test host" ]; then +if [ "${TRAVIS_BUILD_STAGE_NAME}" = "Test Host" ]; then pio_install -elif [ "${TRAVIS_BUILD_STAGE_NAME}" = "Test webui" ]; then +elif [ "${TRAVIS_BUILD_STAGE_NAME}" = "Test WebUI" ]; then npm_install -elif [ "${TRAVIS_BUILD_STAGE_NAME}" = "Test platformio build" ]; then +elif [ "${TRAVIS_BUILD_STAGE_NAME}" = "Test PlatformIO Build" ]; then pio_install elif [ "${TRAVIS_BUILD_STAGE_NAME}" = "Release" ]; then npm_install diff --git a/travis_script.sh b/travis_script.sh index 9efaf00f..1703e8f9 100755 --- a/travis_script.sh +++ b/travis_script.sh @@ -4,11 +4,11 @@ set -x -e -v cd code -if [ "${TRAVIS_BUILD_STAGE_NAME}" = "Test host" ]; then +if [ "${TRAVIS_BUILD_STAGE_NAME}" = "Test Host" ]; then cd test/ && pio test -elif [ "${TRAVIS_BUILD_STAGE_NAME}" = "Test webui" ]; then +elif [ "${TRAVIS_BUILD_STAGE_NAME}" = "Test WebUI" ]; then ./build.sh -f environments -elif [ "${TRAVIS_BUILD_STAGE_NAME}" = "Test platformio build" ]; then +elif [ "${TRAVIS_BUILD_STAGE_NAME}" = "Test PlatformIO Build" ]; then # shellcheck disable=SC2086 scripts/test_build.py -e "$TEST_ENV" $TEST_EXTRA_ARGS elif [ "${TRAVIS_BUILD_STAGE_NAME}" = "Release" ]; then