Compare commits
No commits in common. "a1dfb3442a56f1516deae8e1b07f4374493254bc" and "be2aadb276175f314186ca5d49a31e5a9178ee3c" have entirely different histories.
a1dfb3442a
...
be2aadb276
|
@ -60,10 +60,6 @@ RUN apt-get install -yq --no-install-suggests --no-install-recommends \
|
||||||
build-essential libcap-dev tor
|
build-essential libcap-dev tor
|
||||||
|
|
||||||
|
|
||||||
# locales
|
|
||||||
RUN apt-get install -yq --no-install-suggests --no-install-recommends \
|
|
||||||
language-pack-en
|
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
RUN rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|
|
@ -161,10 +161,8 @@ if [[ "$(declare -p travis_python)" =~ "declare -a" ]]; then
|
||||||
# strip quotes
|
# strip quotes
|
||||||
temp="${pv%\"}"
|
temp="${pv%\"}"
|
||||||
pv="${temp#\"}"
|
pv="${temp#\"}"
|
||||||
|
# strip crap
|
||||||
options=$(echo "$pv"|cut -d_ -f2-)
|
options=$(echo "$pv"|cut -d_ -f2-)
|
||||||
if [ "$options" == "$pv" ]; then
|
|
||||||
unset options
|
|
||||||
fi
|
|
||||||
if [[ "$options" == with* ]]; then
|
if [[ "$options" == with* ]]; then
|
||||||
options="--$(echo "$options"|cut -d_ -f2-|tr -- '_' '-')"
|
options="--$(echo "$options"|cut -d_ -f2-|tr -- '_' '-')"
|
||||||
fi
|
fi
|
||||||
|
@ -178,11 +176,7 @@ if [[ "$(declare -p travis_python)" =~ "declare -a" ]]; then
|
||||||
sudo apt -y install "python$pv" "python${pv}-dev"
|
sudo apt -y install "python$pv" "python${pv}-dev"
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
if [ -n "$options" ]; then
|
|
||||||
virtualenv_init "$ppath" "$pv" "$options"
|
virtualenv_init "$ppath" "$pv" "$options"
|
||||||
else
|
|
||||||
virtualenv_init "$ppath" "$pv"
|
|
||||||
fi
|
|
||||||
virtualenv_activate "$pv"
|
virtualenv_activate "$pv"
|
||||||
python_run "$ppath" "$pv"
|
python_run "$ppath" "$pv"
|
||||||
deactivate
|
deactivate
|
||||||
|
|
Loading…
Reference in New Issue
Block a user