aboutsummaryrefslogtreecommitdiffstats
path: root/travis.osx.script.sh
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-08-01 11:21:30 +0530
committerMs2ger <ms2ger@gmail.com>2014-08-08 10:46:20 +0200
commitc791ec24a8ba25dcc3af46138fe06c28504cc3fb (patch)
tree20a60536e99ff14b3b08d90f6e23419f7f199d9b /travis.osx.script.sh
parent9d1a495a4eae25a39b0be571ea1675123e18831f (diff)
downloadservo-c791ec24a8ba25dcc3af46138fe06c28504cc3fb.tar.gz
servo-c791ec24a8ba25dcc3af46138fe06c28504cc3fb.zip
Parallelize test runs on Travis (fixes #2980).
Diffstat (limited to 'travis.osx.script.sh')
-rwxr-xr-xtravis.osx.script.sh15
1 files changed, 7 insertions, 8 deletions
diff --git a/travis.osx.script.sh b/travis.osx.script.sh
index f7d9953f6b7..66ec0639979 100755
--- a/travis.osx.script.sh
+++ b/travis.osx.script.sh
@@ -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