From 143de109574fbc184e272ab139521d41c6be2c83 Mon Sep 17 00:00:00 2001 From: Shantur Rathore Date: Tue, 27 Aug 2019 14:13:57 +0100 Subject: [PATCH] Parallelize Travis build and remove cache --- .travis.yml | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8e950a42e..3e2ea2435 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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