mirror of
https://gitlab.com/wirelos/sprocket-plugin-mqtt.git
synced 2025-12-14 21:52:21 +01:00
ci
This commit is contained in:
@@ -1,38 +1,14 @@
|
|||||||
image: python:2.7-stretch
|
image: python:2.7-stretch
|
||||||
|
|
||||||
# This folder is cached between builds
|
|
||||||
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
|
|
||||||
cache:
|
|
||||||
paths:
|
|
||||||
- firmware
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
|
||||||
- build
|
- build
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- "pip install -U platformio"
|
- "pip install -U platformio"
|
||||||
|
|
||||||
#firmware-test:
|
examples:
|
||||||
# stage: test
|
|
||||||
# script: "pio ci --board=esp12e"
|
|
||||||
# variables: {PLATFORMIO_CI_SRC: "test.cpp"}
|
|
||||||
|
|
||||||
firmware-build:
|
|
||||||
stage: build
|
stage: build
|
||||||
image: python:2.7-stretch
|
image: python:2.7-stretch
|
||||||
script:
|
script:
|
||||||
- pio run -t clean
|
- pio run -t clean
|
||||||
- pio run
|
- pio run -e basic
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- .pioenvs/*/firmware.*
|
|
||||||
- .pioenvs/*/spiffs.bin
|
|
||||||
#pack:
|
|
||||||
# stage: deploy
|
|
||||||
# script:
|
|
||||||
# - yarn install
|
|
||||||
# - yarn pack
|
|
||||||
# artifacts:
|
|
||||||
# paths:
|
|
||||||
# - ./*.tgz
|
|
||||||
Reference in New Issue
Block a user