Files
sprocket-device-illucat/.gitlab-ci.yml
2018-09-24 13:42:36 +02:00

26 lines
422 B
YAML

image: python:2.7-stretch
stages:
- test
- build
- production
firmware:
stage: build
image: python:2.7-stretch
before_script:
- "pip install -U platformio"
script:
- mv data/example.config.json data/config.json
- pio run -t clean
- pio run
- pio run -t buildfs
release:
stage: production
artifacts:
paths:
- .pioenvs/build/firmware.bin
- .pioenvs/build/spiffs.bin