Parallelize test runs on Travis (fixes #2980).

This commit is contained in:
Manish Goregaokar 2014-08-01 11:21:30 +05:30 committed by Ms2ger
parent 9d1a495a4e
commit c791ec24a8
5 changed files with 53 additions and 30 deletions

View file

@ -1,9 +1,8 @@
set -e
cd build
../configure
make tidy
make -j2
make check-servo
make check-content
make check-ref-cpu
WPTARGS="--processes=4" make check-wpt
case $1 in
unit) make check-servo ;;
content) make check-content ;;
ref) make check-ref-cpu ;;
wpt) WPTARGS="--processes=4" make check-wpt ;;
*) echo "Task $1 not enabled for OSX"
esac