@@ -12,24 +12,28 @@ pipver=7.0.2 # minimum required version of pip
12
12
rm -Rf testenv? || /bin/true
13
13
14
14
export HEAD=` git rev-parse HEAD`
15
- virtualenv testenv1
15
+
16
+ if [ " ${RELEASE_SKIP} " != " head" ]
17
+ then
18
+ virtualenv testenv1
19
+ # First we test the head
20
+ source testenv1/bin/activate
21
+ rm testenv1/lib/python-wheels/setuptools* \
22
+ && pip install --force-reinstall -U pip==${pipver} \
23
+ && pip install setuptools==20.10.1 wheel
24
+ make install-dep
25
+ make test
26
+ pip uninstall -y ${package} || true ; pip uninstall -y ${package} || true ; make install
27
+ mkdir testenv1/not-${module}
28
+ # if there is a subdir named '${module}' py.test will execute tests
29
+ # there instead of the installed module's tests
30
+ pushd testenv1/not-${module} ; ../bin/${run_tests} ; popd
31
+ fi
32
+
16
33
virtualenv testenv2
17
34
virtualenv testenv3
18
35
virtualenv testenv4
19
36
20
- # First we test the head
21
- source testenv1/bin/activate
22
- rm testenv1/lib/python-wheels/setuptools* \
23
- && pip install --force-reinstall -U pip==${pipver} \
24
- && pip install setuptools==20.10.1 wheel
25
- make install-dep
26
- make test
27
- pip uninstall -y ${package} || true ; pip uninstall -y ${package} || true ; make install
28
- mkdir testenv1/not-${module}
29
- # if there is a subdir named '${module}' py.test will execute tests
30
- # there instead of the installed module's tests
31
- pushd testenv1/not-${module} ; ../bin/${run_tests} ; popd
32
-
33
37
34
38
# Secondly we test via pip
35
39
0 commit comments