<commit_before>#!/usr/bin/env bash
set -eu

# mach wants this
export SHELL=$(which bash)

# Fetches build results, and creates ./gecko-dev-master/
echo 'Downloading build result'
curl --location --fail "$BUILD_RESULT" | tar xz

echo 'Setting up environment'
pushd gecko-dev-master
source /root/.cargo/env
python2.7 ./python/mozboot/bin/bootstrap.py --no-interactive --application-choice=browser
source /root/.cargo/env

echo 'Running lints'
./mach lint browser/extensions/shield-recipe-client/

echo 'Running tests'
xvfb-run ./mach test browser/extensions/shield-recipe-client/
popd<commit_msg>Show errors, but not progress bars, in curl during TaskCluster tests.<commit_after>#!/usr/bin/env bash
set -eu

# mach wants this
export SHELL=$(which bash)

# Fetches build results, and creates ./gecko-dev-master/
echo 'Downloading build result'
curl --location --fail --silent --show-error "$BUILD_RESULT" | tar xz

echo 'Setting up environment'
pushd gecko-dev-master
source /root/.cargo/env
python2.7 ./python/mozboot/bin/bootstrap.py --no-interactive --application-choice=browser
source /root/.cargo/env

echo 'Running lints'
./mach lint browser/extensions/shield-recipe-client/

echo 'Running tests'
xvfb-run ./mach test browser/extensions/shield-recipe-client/
popd
{'fraction_non_alphanumeric': 0.1263823064770932, 'fraction_numerical': 0.00315955766192733, 'mean_word_length': 4.2139917695473255, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4719912', 'n_tokens_mistral': 429, 'n_tokens_neox': 408, 'n_words': 119}