Browse Source

ci: capitalization fix (#2203)

mcspr-patch-1
Max Prokhorov 4 years ago
committed by GitHub
parent
commit
62f5a34340
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions
  1. +3
    -3
      travis_install.sh
  2. +3
    -3
      travis_script.sh

+ 3
- 3
travis_install.sh View File

@ -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


+ 3
- 3
travis_script.sh View File

@ -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


Loading…
Cancel
Save