2017-01-28 16:29:36 +00:00
|
|
|
language: python
|
|
|
|
python:
|
2019-09-10 14:04:37 +01:00
|
|
|
- '3.7'
|
2017-01-28 16:29:36 +00:00
|
|
|
sudo: false
|
|
|
|
install:
|
2017-01-28 17:58:55 +00:00
|
|
|
- pip install -U platformio
|
2019-10-15 13:32:57 +01:00
|
|
|
- platformio upgrade
|
|
|
|
- platformio update
|
2017-01-28 16:29:36 +00:00
|
|
|
|
2019-10-10 16:01:15 +01:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- .cache
|
|
|
|
- $HOME/.platformio
|
|
|
|
|
2019-08-27 14:13:57 +01:00
|
|
|
env:
|
|
|
|
- ENV=sonoff
|
|
|
|
- ENV=sonoff-minimal
|
|
|
|
- ENV=sonoff-basic
|
|
|
|
- ENV=sonoff-classic
|
|
|
|
- ENV=sonoff-knx
|
|
|
|
- ENV=sonoff-sensors
|
|
|
|
- ENV=sonoff-display
|
2019-08-30 19:41:01 +01:00
|
|
|
- ENV=sonoff-ir
|
2019-08-27 14:13:57 +01:00
|
|
|
- ENV=sonoff-BG
|
|
|
|
- ENV=sonoff-BR
|
|
|
|
- ENV=sonoff-CN
|
|
|
|
- ENV=sonoff-CZ
|
|
|
|
- ENV=sonoff-DE
|
|
|
|
- ENV=sonoff-ES
|
|
|
|
- ENV=sonoff-FR
|
|
|
|
- ENV=sonoff-GR
|
|
|
|
- ENV=sonoff-HE
|
|
|
|
- ENV=sonoff-HU
|
|
|
|
- ENV=sonoff-IT
|
|
|
|
- ENV=sonoff-KO
|
|
|
|
- ENV=sonoff-NL
|
|
|
|
- ENV=sonoff-PL
|
|
|
|
- ENV=sonoff-PT
|
|
|
|
- ENV=sonoff-RU
|
|
|
|
- ENV=sonoff-SE
|
|
|
|
- ENV=sonoff-SK
|
|
|
|
- ENV=sonoff-TR
|
|
|
|
- ENV=sonoff-TW
|
|
|
|
- ENV=sonoff-UK
|
|
|
|
|
2017-01-28 16:29:36 +00:00
|
|
|
script:
|
2019-08-27 14:13:57 +01:00
|
|
|
- platformio run -e $ENV
|
2017-06-01 16:37:30 +01:00
|
|
|
before_deploy:
|
|
|
|
- for file in .pioenvs/*/firmware.bin; do cp $file ${file%/*}.bin; done
|