Merge pull request #6299 from shantur/parallel-builds

Parallelize Travis build and remove cache
This commit is contained in:
Theo Arends 2019-08-27 15:54:50 +02:00 committed by GitHub
commit 7075b0f2fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 31 additions and 4 deletions

View File

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