updates to support automated CI builds

This commit is contained in:
Paul
2019-10-26 11:57:52 +02:00
parent ff7268a72f
commit dd53d08802
3 changed files with 29 additions and 21 deletions

View File

@@ -135,7 +135,10 @@ if [ ${par_thread} -ge ${par_total_threads} ]; then
exit
fi
# travis platformio target is used for nightly Test
travis=$(list_envs | grep travis | sort)
# get all taregts, excluding travis and debug
available=$(list_envs | grep -Ev -- 'travis|debug' | sort)
export PLATFORMIO_BUILD_FLAGS="${PLATFORMIO_BUILD_FLAGS}"

View File

@@ -40,7 +40,7 @@ env.AddPreAction("buildprog", build_web)
# build filename, replacing . with _ for the version
#env.Replace(PROGNAME="firmware_%s" % branch + "_" + app_version.replace(".", "_"))
env.Replace(PROGNAME=app_name + "-" + app_version.replace(".", "_") + "-" + board + "-" + branch)
#env.Replace(PROGNAME=app_name + "-" + app_version)
#env.Replace(PROGNAME=app_name + "-" + app_version.replace(".", "_") + "-" + board + "-" + branch)
env.Replace(PROGNAME=app_name + "-" + app_version.replace(".", "_") + "-" + board)