Files
sprocket-device-illucat/.gitlab-ci.yml
2018-09-24 14:06:39 +02:00

35 lines
580 B
YAML

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