Auto merge of #23677 - servo:travis, r=jdm

Move pre-review PR testing from Travis-CI to Taskcluster

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23677)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-07-03 02:28:24 -04:00 committed by GitHub
commit d08cd5fc1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 85 deletions

View file

@ -85,7 +85,7 @@ def main(task_for):
# https://github.com/servo/servo/pull/22597#issuecomment-451518810
CONFIG.git_sha_is_current_head()
tidy_untrusted()
linux_tidy_unit_untrusted()
# https://tools.taskcluster.net/hooks/project-servo/daily
elif task_for == "daily":
@ -158,17 +158,24 @@ windows_sparse_checkout = [
]
def tidy_untrusted():
def linux_tidy_unit_untrusted():
return (
decisionlib.DockerWorkerTask("Tidy")
decisionlib.DockerWorkerTask("Tidy + dev build + unit tests")
.with_worker_type("servo-docker-untrusted")
.with_treeherder("Linux x64", "Tidy")
.with_treeherder("Linux x64", "Tidy+Unit")
.with_max_run_time_minutes(60)
.with_dockerfile(dockerfile_path("build"))
.with_env(**build_env, **unix_build_env, **linux_build_env)
.with_repo()
.with_script("""
./mach test-tidy --no-progress --all
./mach test-tidy --no-progress --self-test
./mach build --dev
./mach test-unit
./etc/ci/lockfile_changed.sh
./etc/memory_reports_over_time.py --test
./etc/ci/check_no_panic.sh
""")
.create()
)