pitrix/.drone.yml

17 lines
513 B
YAML
Raw Normal View History

2019-06-06 04:30:15 +00:00
kind: pipeline
name: default
steps:
- name: Full
image: python:2.7
2019-06-06 04:30:15 +00:00
commands:
- pip install -U platformio
2019-06-06 04:30:15 +00:00
- cp include/config.sample.h include/config.h
- PLATFORMIO_BUILD_FLAGS="-DCONFIG_USABLE -DDEBUG -DMQTT_ENABLE -DMQTT_REPORT_METRICS" pio run
- name: Lite
image: python:2.7
commands:
- pip install -U platformio
- cp include/config.sample.h include/config.h
- PLATFORMIO_BUILD_FLAGS="-DCONFIG_USABLE -UDEBUG -UMQTT_ENABLE -UMQTT_REPORT_METRICS" pio run