forked from esphome/esphome-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
668b1b1
commit af4180d
Showing
4 changed files
with
87 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.pioenvs | ||
.piolibdeps | ||
CMakeListsPrivate.txt | ||
|
||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm | ||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | ||
|
||
# User-specific stuff: | ||
.idea/**/workspace.xml | ||
.idea/**/tasks.xml | ||
.idea/dictionaries | ||
|
||
# Sensitive or high-churn files: | ||
.idea/**/dataSources/ | ||
.idea/**/dataSources.ids | ||
.idea/**/dataSources.xml | ||
.idea/**/dataSources.local.xml | ||
.idea/**/dynamic.xml | ||
|
||
# CMake | ||
cmake-build-debug/ | ||
cmake-build-release/ | ||
|
||
# pyenv | ||
.python-version | ||
.clang_complete | ||
.gcc-flags.json | ||
.git/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
# Gitlab CI configuration for my custom build server. For contributors, | ||
# please use .travis.yml | ||
|
||
stages: | ||
# - lint | ||
- test | ||
|
||
.test: &test | ||
tags: | ||
- python2.7 | ||
- esphomelib-test | ||
stage: test | ||
cache: | ||
paths: | ||
- /root/.platformio | ||
- .piolibdeps | ||
|
||
test-basic: | ||
<<: *test | ||
script: | ||
- | | ||
platformio run \ | ||
-e livingroom \ | ||
-e livingroom8266 | ||
test-advanced: | ||
<<: *test | ||
script: | ||
- | | ||
platformio run \ | ||
-e dht-dallas-sensors \ | ||
-e switch-binarysensor \ | ||
-e fan-example \ | ||
-e lights \ | ||
-e custombmp180 \ | ||
-e i2c-sensors \ | ||
-e pcf8574 \ | ||
-e fastled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM python:2.7 | ||
MAINTAINER Otto Winter <[email protected]> | ||
|
||
RUN pip install --no-cache-dir platformio && \ | ||
platformio settings set enable_telemetry No | ||
|
||
COPY docker/platformio.ini / | ||
RUN platformio run -e espressif32 -e espressif8266; exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
; This file allows the docker build file to install the required platformio | ||
; platforms | ||
|
||
[env:espressif8266] | ||
platform = espressif8266 | ||
board = nodemcuv2 | ||
framework = arduino | ||
|
||
[env:espressif32] | ||
platform = espressif32 | ||
board = nodemcu-32s | ||
framework = arduino |