Update Travis Tests to run platforms in parallel (#11256)

This commit is contained in:
Chris Pepper
2018-07-14 05:42:15 +01:00
committed by Scott Lahteine
parent e486326910
commit c43793aa1e
11 changed files with 588 additions and 442 deletions

29
buildroot/bin/env_clean Executable file
View File

@ -0,0 +1,29 @@
#!/usr/bin/env bash
if [ -d ".pioenvs" ]; then
rm -r .pioenvs
fi
if [ -d ".piolibdeps" ]; then
rm -r .piolibdeps
fi
if [ -d ".piolib" ]; then
rm -r .piolib
fi
if [ ! -z "$1" ]; then
if [ $1 = "--deep" ]; then
if [ -d "~/.platformio/packages" ]; then
rm -r ~/.platformio/packages/*
fi
if [ -d "~/.platformio/platforms" ]; then
rm -r ~/.platformio/platforms/*
fi
if [ -d "~/.platformio/.cache" ]; then
rm -r ~/.platformio/.cache/*
fi
fi
fi