Skip to content

Commit 54ed96b

Browse files
committed
Fixed issues running tests on Python 2.6 and 3.3
1 parent 8b67e90 commit 54ed96b

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ python:
1212
install:
1313
- travis_retry pip install coveralls
1414
- travis_retry pip install tox-travis
15-
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy'* ]]; then travis_retry pip install pyOpenSSL>=16.2.0; fi
15+
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy'* ]]; then travis_retry pip install cryptography~=1.3.4 pyOpenSSL~=16.2.0; fi
1616
script:
1717
tox
1818
after_success:

tox.ini

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ deps =
1616
commands =
1717
coverage erase
1818

19+
[testenv:py26]
20+
deps =
21+
pytest==3.2.4
22+
pytest-cov
23+
24+
[testenv:py33]
25+
deps =
26+
pytest==3.2.4
27+
pytest-cov
28+
1929
[testenv:flake8]
2030
basepython = python
2131
skip_install = true

0 commit comments

Comments
 (0)