From ac8bd1f7453a9291afefe87a790a3e73d67019c0 Mon Sep 17 00:00:00 2001 From: Patrick Balsiger Date: Fri, 16 Nov 2018 19:28:22 +0100 Subject: [PATCH] ci --- .gitlab-ci.yml | 31 +------------------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3d3437c..449af1b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,43 +1,14 @@ -#stages: -# - build -# -#cache: -# paths: -# - .piolibdeps -# -#build-examples: -# stage: build -# image: registry.gitlab.com/wirelos/contraption-pipeline/platformio:v1 -# script: -# - pio upgrade -# - platformio lib --global install painlessMesh ArduinoJson TaskScheduler PubSubClient ESPAsyncTCP AsyncTCP "ESP Async WebServer" -# - platformio ci --lib="." --board=esp12e src/examples/basic/ -# - platformio ci --lib="." --board=esp12e src/examples/mesh/ -# - platformio ci --lib="." --board=esp12e src/examples/mqttBridge/ - 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-build: +examples: stage: build image: python:2.7-stretch script: - pio run --target clean - pio run --environment basic - - pio run --environment wifi - artifacts: - paths: - - .pioenvs/*/firmware.* - - .pioenvs/*/spiffs.bin