Fork of the espurna firmware for `mhsw` switches
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
433 B

  1. #!/bin/bash
  2. set -x -e -v
  3. cd code
  4. if [ "${TRAVIS_BUILD_STAGE_NAME}" = "Test webui" ]; then
  5. ./build.sh -f environments
  6. elif [ "${TRAVIS_BUILD_STAGE_NAME}" = "Test platformio build" ]; then
  7. # shellcheck disable=SC2086
  8. scripts/test_build.py -e "$TEST_ENV" $TEST_EXTRA_ARGS
  9. elif [ "${TRAVIS_BUILD_STAGE_NAME}" = "Release" ]; then
  10. ./build.sh -p
  11. else
  12. echo -e "\e[1;33mUnknown stage name, exiting!\e[0m"
  13. exit 1
  14. fi