basic mqtt plugin

This commit is contained in:
2018-11-15 11:36:19 +01:00
commit accd942c34
10 changed files with 489 additions and 0 deletions

38
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,38 @@
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:
- test
- build
before_script:
- "pip install -U platformio"
#firmware-test:
# stage: test
# script: "pio ci --board=esp12e"
# variables: {PLATFORMIO_CI_SRC: "test.cpp"}
firmware-build:
stage: build
image: python:2.7-stretch
script:
- pio run -t clean
- pio run
artifacts:
paths:
- .pioenvs/*/firmware.*
- .pioenvs/*/spiffs.bin
#pack:
# stage: deploy
# script:
# - yarn install
# - yarn pack
# artifacts:
# paths:
# - ./*.tgz