using TRAVIS_BUILD_NUMBER instead of TRAVIS_JOB_ID
This commit is contained in:
parent
f46013effe
commit
4771d0bb83
|
@ -19,7 +19,7 @@ elif [ $PUBLISHMETA ] && [ $PUBLISH_URL ] ; then
|
|||
--form "revision=${REVISION}" \
|
||||
--form "branch=${BRANCH}" \
|
||||
--form "last_commit_date=${LAST_COMMIT_DATE}" \
|
||||
--form "travis_job_id=${TRAVIS_JOB_ID}" \
|
||||
--form "travis_build_number=${TRAVIS_BUILD_NUMBER}" \
|
||||
${PUBLISH_URL}
|
||||
else
|
||||
if [ $PUBLISH_URL ] ; then
|
||||
|
@ -40,7 +40,7 @@ else
|
|||
--form "revision=${REVISION}" \
|
||||
--form "branch=${BRANCH}" \
|
||||
--form "last_commit_date=${LAST_COMMIT_DATE}" \
|
||||
--form "travis_job_id=${TRAVIS_JOB_ID}" \
|
||||
--form "travis_build_number=${TRAVIS_BUILD_NUMBER}" \
|
||||
${PUBLISH_URL}
|
||||
else
|
||||
make -j2
|
||||
|
|
|
@ -6,7 +6,7 @@ targets=("PUBLISHMETA=True" "RUNTESTS=True" \
|
|||
"TARGET=OLIMEXINO" "TARGET=PORT103R" "TARGET=SPARKY" "TARGET=STM32F3DISCOVERY" \
|
||||
"TARGET=ALIENWIIF1" "TARGET=ALIENWIIF3")
|
||||
|
||||
export TRAVIS_JOB_ID=$(date +%s)
|
||||
export TRAVIS_BUILD_NUMBER=$(date +%s)
|
||||
for target in "${targets[@]}"
|
||||
do
|
||||
unset RUNTESTS PUBLISHMETA TARGET OPBL
|
||||
|
|
Loading…
Reference in New Issue