added support for travis ci

This commit is contained in:
Jan Delgado
2017-06-13 20:01:49 +02:00
parent 31d5ec18d6
commit 7b5087e1af

17
.travis.yml Normal file
View File

@@ -0,0 +1,17 @@
language: python
python:
- "2.7"
env:
- BOARD=uno
- BOARD=leonardo
- BOARD=esp01
install:
- python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)"
script:
- cd examples/FullFunction
- platformio ci -l ../.. FullFunction.ino --board=$BOARD
- cd ../GetStarted
- platformio ci -l ../.. getStarted.ino --board=$BOARD