Skip to content

Commit 7df5bd3

Browse files
committed
fixup! Test on min versions of all deps, not just six
1 parent ee92ee2 commit 7df5bd3

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ env:
1919
- USE_OPTIONAL=false
2020
- DEP_VERSION=min USE_OPTIONAL=true
2121

22+
matrix:
23+
include:
24+
- python: "2.6"
25+
env: PIP_VERSION=6.1.0 DEP_VERSION=min USE_OPTIONAL=true
26+
- python: "3.3"
27+
env: PIP_VERSION=6.1.0 DEP_VERSION=min USE_OPTIONAL=true
28+
2229
install:
2330
- ./requirements-install.sh
2431

requirements-install.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/bin/bash -ex
22

3-
pip install pip==6.1.0
3+
if [[ $PIP_VERSION ]]; then
4+
pip install "pip==$PIP_VERSION"
5+
else
6+
pip install -U pip setuptools wheel
7+
fi
48

59
if [[ $DEP_VERSION == "min" ]]; then
610
sed -i'' -e 's/>=/==/g' requirements*.txt

requirements-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
flake8==2.6.2
44
pycodestyle==2.0.0
55
pyflakes==1.2.3
6-
pytest>=2.7,<4.0
6+
pytest>=2.7.3,<4.0
77
pytest-expect>=1.1,<2.0
88
mock>=0.7,<3.0

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ deps =
66
flake8==2.6.2
77
pycodestyle==2.0.0
88
pyflakes==1.2.3
9-
pytest>=2.7,<4.0
9+
pytest>=2.7.3,<4.0
1010
pytest-expect>=1.1,<2.0
1111
mock>=0.7,<3.0
1212
base: six>=1.9,<2.0

0 commit comments

Comments
 (0)