modify travis file to support build integer
This commit is contained in:
parent
24411d34c1
commit
f9afd20238
15
.travis.yml
15
.travis.yml
|
@ -8,13 +8,22 @@ install:
|
||||||
script:
|
script:
|
||||||
- make all
|
- make all
|
||||||
- cd bin/
|
- cd bin/
|
||||||
- file_name="nodemcu_${TRAVIS_TAG}.bin"
|
- file_name_float="nodemcu_float_${TRAVIS_TAG}.bin"
|
||||||
- srec_cat -output ${file_name} -binary 0x00000.bin -binary -fill 0xff 0x00000 0x10000 0x10000.bin -binary -offset 0x10000
|
- srec_cat -output ${file_name_float} -binary 0x00000.bin -binary -fill 0xff 0x00000 0x10000 0x10000.bin -binary -offset 0x10000
|
||||||
|
- cd ../
|
||||||
|
- make clean
|
||||||
|
- make EXTRA_CCFLAGS="-DLUA_NUMBER_INTEGRAL"
|
||||||
|
- cd bin/
|
||||||
|
- file_name_integer="nodemcu_integer_${TRAVIS_TAG}.bin"
|
||||||
|
- srec_cat -output ${file_name_integer} -binary 0x00000.bin -binary -fill 0xff 0x00000 0x10000 0x10000.bin -binary -offset 0x10000
|
||||||
|
- ls
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
api_key:
|
api_key:
|
||||||
secure: Swecz5lWvsuSbchSbVQ1rmCPN9nQIN5p/HlZNIEdEgAgnoLcJxRV4P8poVTB37jiA8Pck+8x2nWXpg74Rqik0i3KlPNvDfg5o4rIazWLNs4bc1Tbcpt44XAzFKKLYnDnWQUGcqjk7BcAXuNAF2X/fPBCVhFbHVg3Z7cDb32RsNw=
|
secure: Swecz5lWvsuSbchSbVQ1rmCPN9nQIN5p/HlZNIEdEgAgnoLcJxRV4P8poVTB37jiA8Pck+8x2nWXpg74Rqik0i3KlPNvDfg5o4rIazWLNs4bc1Tbcpt44XAzFKKLYnDnWQUGcqjk7BcAXuNAF2X/fPBCVhFbHVg3Z7cDb32RsNw=
|
||||||
file: "$TRAVIS_BUILD_DIR/bin/${file_name}"
|
file:
|
||||||
|
- "$TRAVIS_BUILD_DIR/bin/${file_name_float}"
|
||||||
|
- "$TRAVIS_BUILD_DIR/bin/${file_name_integer}"
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
|
|
Loading…
Reference in New Issue