Drone: Combined the two build into one step in order to only have to download PlatformIO and stuff just once.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Fabian Schlenz 2019-06-06 12:01:01 +02:00
parent cfc5122e2e
commit 66c424ed47

View File

@ -2,15 +2,10 @@ kind: pipeline
name: default name: default
steps: steps:
- name: Full - name: PlatformIO
image: python:2.7 image: python:2.7
commands: commands:
- pip install -U platformio - pip install -U platformio
- cp include/config.sample.h include/config.h - cp include/config.sample.h include/config.h
- PLATFORMIO_BUILD_FLAGS="-DCONFIG_USABLE -DDEBUG -DMQTT_ENABLE -DMQTT_REPORT_METRICS" pio run - 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 - PLATFORMIO_BUILD_FLAGS="-DCONFIG_USABLE -UDEBUG -UMQTT_ENABLE -UMQTT_REPORT_METRICS" pio run