4 Commits

Author SHA1 Message Date
b0a485d578 Fixed release upload
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing
2019-07-11 09:15:13 +02:00
3d4399c33d Updated to PIOv4
Some checks failed
continuous-integration/drone/push Build is failing
2019-07-11 09:12:45 +02:00
a33780a3a7 New paths for PIOv4
Some checks failed
continuous-integration/drone/push Build is failing
2019-07-11 08:56:26 +02:00
d2cd7f3445 Update from python2.7 to python3 2019-07-11 08:50:42 +02:00
2 changed files with 7 additions and 7 deletions

View File

@ -3,12 +3,12 @@ name: default
steps: steps:
- name: build - name: build
image: python:2 image: python:3
commands: commands:
- pip install platformio - pip install platformio
- pio run - pio run
- name: upload - name: upload
image: python:2 image: python:3
commands: commands:
- make otaupload - make otaupload
- name: release - name: release
@ -17,7 +17,7 @@ steps:
api_key: a7f3afc9f77e721951e48b4af66d7565700b7a2e api_key: a7f3afc9f77e721951e48b4af66d7565700b7a2e
base_url: https://code.jcktrue.dk base_url: https://code.jcktrue.dk
files: files:
- .pioenvs/nodemcu/firmware.bin - .pio/build/nodemcu/firmware.bin
- .pioenvs/nodemcu/firmware.elf - .pio/build/nodemcu/firmware.elf
when: when:
event: tag event: tag

View File

@ -2,5 +2,5 @@ build:
pio run pio run
otaupload: otaupload:
pip install -r .piolibdeps/Homie/scripts/ota_updater/requirements.txt pip install -r .pio/libdeps/nodemcu/Homie/scripts/ota_updater/requirements.txt
python .piolibdeps/Homie/scripts/ota_updater/ota_updater.py -l mqtt.jcktrue.dk -i 18fe34f2f987 .pioenvs/nodemcu/firmware.bin python .pio/libdeps/Homie/scripts/ota_updater/ota_updater.py -l mqtt.jcktrue.dk -i 18fe34f2f987 .pio/build/nodemcu/firmware.bin