From d895d85273df0ae6943e967b5b0ec8a788f8504e Mon Sep 17 00:00:00 2001 From: Martin Bauer Date: Fri, 5 Jun 2020 22:30:49 +0200 Subject: [PATCH] CI jobs --- .gitlab-ci.yml | 12 ++++++++++++ firmware/platformio.ini | 1 + 2 files changed, 13 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..3a84a22 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,12 @@ +image: python:latest + +before_script: + - python -V # Print out python version for debugging + - pip install platformio + - apt update && apt install build-essential + +build: + script: + - cd firmware + - platformio run + #- platformio test -v -e native diff --git a/firmware/platformio.ini b/firmware/platformio.ini index b452b4a..47c4bf5 100644 --- a/firmware/platformio.ini +++ b/firmware/platformio.ini @@ -26,6 +26,7 @@ lib_deps = https://github.com/mabau/ESPAsyncWebServer.git AsyncTCP NTPClient + HX711@0.7.4 src_filter = +<*> - [env:native]