Skip to content

Commit a97860b

Browse files
authored
Update entrypoint.sh
1 parent 1f67901 commit a97860b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

entrypoint.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ while ! ps aux | grep -q '[0]:00 Xvfb :99 -screen 0 1024x768x16'; do
1010
sleep 1
1111
done
1212

13+
if [ -n "$RELEASE" ]; then
14+
wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
15+
python${PYTHON} ./get-pip.py
16+
printf "#\n# Installed pip for Python 2.7\n"
17+
else
18+
printf "#\n# Skipped pip, RELEASE not set\n"
19+
fi
20+
1321
printf "#\n# Running tests in Python ${PYTHON}\n"
1422
export NOSETESTS_BINARY=nosetests${PYTHON}
1523
printf "#\n# Testing implementation..\n"
@@ -29,12 +37,4 @@ printf "#\n# Testing examples..\n"
2937
--exe \
3038
examples/*/*.py
3139

32-
if [ -n "$RELEASE" ]; then
33-
wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
34-
python${PYTHON} ./get-pip.py
35-
printf "#\n# Installed pip for Python 2.7\n"
36-
else
37-
printf "#\n# Skipped pip, RELEASE not set\n"
38-
fi
39-
4040
printf Done

0 commit comments

Comments
 (0)