Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 11 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,20 @@ jobs:
- checkout
- run:
name: install PlatformIO
command: sudo pip install platformio
- run:
name: install current code as a PlatformIO library with all dependencies
command: platformio lib -g install file://.
command: sudo pip install -U https://github.com/platformio/platformio-core/archive/develop.zip
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it a bit dangerous to depend on develop? Shouldn't we pin to, I don't know, 3.5.0rc2?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's OK, you will help us make PIO better if something will be wrong :) I mean, that is good that you will test your project with our development version. It's stable in development for 99%.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, then. Thanks! :)

- run:
name: install exemples dependencies
command: platformio lib -g install Shutters@^2.1.1 [email protected]
- run: platformio ci ./examples/CustomSettings --board=esp01 --board=nodemcuv2
- run: platformio ci ./examples/DoorSensor --board=esp01 --board=nodemcuv2
- run: platformio ci ./examples/HookToEvents --board=esp01 --board=nodemcuv2
- run: platformio ci ./examples/IteadSonoff --board=esp01 --board=nodemcuv2
- run: platformio ci ./examples/LightOnOff --board=esp01 --board=nodemcuv2
- run: platformio ci ./examples/TemperatureSensor --board=esp01 --board=nodemcuv2
- run: platformio ci ./examples/LedStrip --board=esp01 --board=nodemcuv2
- run: platformio ci ./examples/Broadcast --board=esp01 --board=nodemcuv2
- run: platformio ci ./examples/GlobalInputHandler --board=esp01 --board=nodemcuv2
- run: platformio ci ./examples/SonoffDualShutters --board=esp01 --board=nodemcuv2
- run: platformio ci ./examples/CustomSettings --lib=./ --board=esp01 --board=nodemcuv2
- run: platformio ci ./examples/DoorSensor --lib=./ --board=esp01 --board=nodemcuv2
- run: platformio ci ./examples/HookToEvents --lib=./ --board=esp01 --board=nodemcuv2
- run: platformio ci ./examples/IteadSonoff --lib=./ --board=esp01 --board=nodemcuv2
- run: platformio ci ./examples/LightOnOff --lib=./ --board=esp01 --board=nodemcuv2
- run: platformio ci ./examples/TemperatureSensor --lib=./ --board=esp01 --board=nodemcuv2
- run: platformio ci ./examples/LedStrip --lib=./ --board=esp01 --board=nodemcuv2
- run: platformio ci ./examples/Broadcast --lib=./ --board=esp01 --board=nodemcuv2
- run: platformio ci ./examples/GlobalInputHandler --lib=./ --board=esp01 --board=nodemcuv2
- run: platformio ci ./examples/SonoffDualShutters --lib=./ --board=esp01 --board=nodemcuv2

lint:
working_directory: ~/code
Expand Down