Skip to content

Commit

Permalink
ci: capitalization fix (#2203)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcspr authored Mar 30, 2020
1 parent 8333960 commit 62f5a34
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions travis_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions travis_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 62f5a34

Please sign in to comment.