mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-04 15:34:19 +01:00
* base envs
* CI: speed up release process (since we still want some .bin files)
* fixup! CI: speed up release process (since we still want some .bin files)
* release dry run
* fixup! release dry run
* adjust
* fix .bin name
* it works
* minor cleanup for current git
* use pio suggestion about ldscript, reduce build_flags impact
* fix linker
* parse ${vars} instead of ignoring them
* add filtering and override file (sneak peak into tasmota's pio config)
* don't generate secure client (for now)
* formatting
* codacy
20 lines
516 B
Bash
Executable File
20 lines
516 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x -e -v
|
|
|
|
cd code
|
|
|
|
if [ "${TRAVIS_BUILD_STAGE_NAME}" = "Test Host" ]; then
|
|
cd test/ && pio test
|
|
elif [ "${TRAVIS_BUILD_STAGE_NAME}" = "Test WebUI" ]; then
|
|
./build.sh -f environments
|
|
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
|
|
./build.sh -r
|
|
else
|
|
echo -e "\e[1;33mUnknown stage name, exiting!\e[0m"
|
|
exit 1
|
|
fi
|