forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
servo: Merge #3015 - Parallelize test runs (fixes #2980); r=Manishear…
…th+SimonSapin+metajack (from Ms2ger:travis-matrix) Source-Repo: https://github.com/servo/servo Source-Revision: 560430e03ab82a405a650b5e5e180d73dacf8378
- Loading branch information
1 parent
f0009f3
commit 474b48b
Showing
5 changed files
with
53 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
set -e | ||
../configure | ||
make tidy | ||
make -j2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,27 @@ | ||
set -e | ||
cd build | ||
../configure | ||
export DISPLAY=:1.0 | ||
export RUST_TEST_TASKS=1 | ||
make tidy | ||
make -j2 | ||
make check-servo | ||
make check-content | ||
make check-ref-cpu | ||
case $1 in | ||
content) | ||
make check-content | ||
;; | ||
ref) | ||
make check-ref-cpu | ||
;; | ||
unit-doc) | ||
make check-servo | ||
|
||
mv x86_64-unknown-linux-gnu/rust_snapshot/rust-*/doc . | ||
cp ../src/etc/doc.servo.org/* doc | ||
make doc | ||
mv x86_64-unknown-linux-gnu/rust_snapshot/rust-*/doc . | ||
cp ../src/etc/doc.servo.org/* doc | ||
make doc | ||
|
||
if [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ] | ||
then | ||
echo '<meta http-equiv=refresh content=0;url=servo/index.html>' > doc/index.html | ||
sudo pip install ghp-import | ||
ghp-import -n doc | ||
git push -fq https://${TOKEN}@github.com/servo/doc.servo.org.git gh-pages | ||
fi | ||
if [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ] | ||
then | ||
echo '<meta http-equiv=refresh content=0;url=servo/index.html>' > doc/index.html | ||
sudo pip install ghp-import | ||
ghp-import -n doc | ||
git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages | ||
fi | ||
;; | ||
*) echo "Task $1 not enabled for Linux" | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |