Parallelize Travis build and remove cache

This commit is contained in:
Shantur Rathore 2019-08-27 14:13:57 +01:00 committed by Shantur Rathore
parent 022df89950
commit 143de10957
1 changed files with 31 additions and 4 deletions

View File

@ -2,13 +2,40 @@ language: python
python: python:
- '2.7' - '2.7'
sudo: false sudo: false
cache:
directories:
- "~/.platformio"
install: install:
- pip install -U platformio - pip install -U platformio
env:
- ENV=sonoff
- ENV=sonoff-minimal
- ENV=sonoff-basic
- ENV=sonoff-classic
- ENV=sonoff-knx
- ENV=sonoff-sensors
- ENV=sonoff-display
- 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
script: script:
- platformio run - platformio run -e $ENV
before_deploy: before_deploy:
- for file in .pioenvs/*/firmware.bin; do cp $file ${file%/*}.bin; done - for file in .pioenvs/*/firmware.bin; do cp $file ${file%/*}.bin; done