Skip to content

Commit

Permalink
Use tools/venv.sh from client repo in integration tests (letsencrypt#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bmw authored and jsha committed Apr 18, 2016
1 parent e6c17e1 commit ea52c21
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,26 +107,11 @@ function die() {
}

function build_letsencrypt() {
# Test for python 2 installs with the usual names.
if hash python2 2>/dev/null; then
PY=python2
elif hash python2.7 2>/dev/null; then
PY=python2.7
else
die "unable to find a python2 or python2.7 binary in \$PATH"
fi

run git clone \
https://www.github.com/letsencrypt/letsencrypt.git \
$LETSENCRYPT_PATH || exit 1

cd $LETSENCRYPT_PATH

run virtualenv --no-site-packages -p $PY ./venv
run ./venv/bin/pip install -U setuptools
run ./venv/bin/pip install -U pip
run ./venv/bin/pip install -e acme -e . -e certbot-apache -e certbot-nginx

run ./tools/venv.sh
cd -
}

Expand Down

0 comments on commit ea52c21

Please sign in to comment.