Skip to content

Commit

Permalink
add a cffi minimum test tox target and travis builder
Browse files Browse the repository at this point in the history
This tests against macOS so we capture some commoncrypto branches
  • Loading branch information
reaperhulk committed Nov 13, 2016
1 parent b2b2c53 commit dc19fe7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ matrix:
os: osx
osx_image: xcode8
env: TOXENV=py27 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=0
- language: generic
os: osx
osx_image: xcode8
env: TOXENV=py35-cffi-min CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1
- language: generic
os: osx
# 7.3 is OS X 10.11.x
Expand Down
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ commands =
pip list
py.test --capture=no --strict {posargs}

# This target downgrades cffi to the minimum supported in setup.py
[testenv:py35-cffi-min]
deps =
coverage
./vectors
cffi==1.4.1
basepython = python3.5

[testenv:pep8]
extras =
pep8test
Expand Down

0 comments on commit dc19fe7

Please sign in to comment.