X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Ftox-install.sh;h=ad9833626608351ab1d4f9a9e33a932a0284b735;hb=2a10c83b2d506008cc6c01c134515fb6328e1f3a;hp=a6e26bc245259a996d22edf124ce56b1feeed697;hpb=0786d5870812545b09f27699d7f71d197a257575;p=releng%2Fglobal-jjb.git diff --git a/shell/tox-install.sh b/shell/tox-install.sh index a6e26bc2..ad983362 100644 --- a/shell/tox-install.sh +++ b/shell/tox-install.sh @@ -1,17 +1,21 @@ -#!/bin/bash +#!/bin/bash -l +# SPDX-License-Identifier: EPL-1.0 +############################################################################## +# Copyright (c) 2017 The Linux Foundation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +############################################################################## echo "---> tox-install.sh" # Ensure we fail the job if any steps fail. # DO NOT set -u as virtualenv's activate script has unbound variables set -e -o pipefail -virtualenv --quiet "$WORKSPACE/.virtualenvs/tox" -# shellcheck source=./.virtualenvs/tox/bin/activate disable=SC1091 -source "$WORKSPACE/.virtualenvs/tox/bin/activate" -PYTHON="$WORKSPACE/.virtualenvs/tox/bin/python" -$PYTHON -m pip install --quiet --upgrade pip -$PYTHON -m pip install --quiet --upgrade pipdeptree -$PYTHON -m pip install --quiet --upgrade tox argparse +# Tox version is pulled in through detox to mitigate version conflict +python -m pip install --user --quiet --upgrade argparse detox tox-pyenv -echo "----> Pip Dependency Tree" -$PYTHON -m pipdeptree +echo "----> pip freeze" +pip freeze