mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Tidy
This commit is contained in:
parent
2e1a3b169b
commit
735c2fd5e5
2 changed files with 20 additions and 7 deletions
|
@ -1,13 +1,23 @@
|
||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
task_id="$1"
|
|
||||||
artifact="$2"
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
|
set -o errexit
|
||||||
|
set -o nounset
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
|
task_id="${1}"
|
||||||
|
artifact="${2}"
|
||||||
shift 2
|
shift 2
|
||||||
url="https://queue.taskcluster.net/v1/task/${task_id}/artifacts/public/${artifact}"
|
queue="https://queue.taskcluster.net/v1"
|
||||||
echo "Fetching $url" >&2
|
url="${queue}/task/${task_id}/artifacts/public/${artifact}"
|
||||||
|
echo "Fetching ${url}" >&2
|
||||||
curl \
|
curl \
|
||||||
--retry 5 \
|
--retry 5 \
|
||||||
--connect-timeout 10 \
|
--connect-timeout 10 \
|
||||||
--location \
|
--location \
|
||||||
--fail \
|
--fail \
|
||||||
"$url" \
|
"${url}" \
|
||||||
"$@"
|
"${@}"
|
||||||
|
|
|
@ -68,6 +68,9 @@ files = [
|
||||||
"./tests/wpt/mozilla/tests/css/fonts",
|
"./tests/wpt/mozilla/tests/css/fonts",
|
||||||
"./tests/wpt/mozilla/tests/css/pre_with_tab.html",
|
"./tests/wpt/mozilla/tests/css/pre_with_tab.html",
|
||||||
"./tests/wpt/mozilla/tests/mozilla/textarea_placeholder.html",
|
"./tests/wpt/mozilla/tests/mozilla/textarea_placeholder.html",
|
||||||
|
# Python 3 syntax causes "E901 SyntaxError" when flake8 runs in Python 2
|
||||||
|
"./etc/ci/taskcluster/decision-task.py",
|
||||||
|
"./etc/ci/taskcluster/decisionlib.py",
|
||||||
]
|
]
|
||||||
# Directories that are ignored for the non-WPT tidy check.
|
# Directories that are ignored for the non-WPT tidy check.
|
||||||
directories = [
|
directories = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue