forked from Thriftpy/thriftpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
now only support ssl in python >= 2.7.9 or python >= 3.4 support ssl in older python is a headache, it's much complex than a first glance, if you're serious about security, upgrade you python to use modern ssl lib. more info: https://www.python.org/downloads/release/python-279/
- Loading branch information
Showing
8 changed files
with
58 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,22 @@ | ||
sudo: false | ||
language: python | ||
python: 3.5 | ||
cache: | ||
directories: | ||
- $HOME/.pip-cache | ||
env: | ||
- TOXENV=flake8 | ||
- TOXENV=py26-py | ||
- TOXENV=py26-cy | ||
- TOXENV=py27-py | ||
- TOXENV=py27-cy | ||
- TOXENV=py33-py | ||
- TOXENV=py33-cy | ||
- TOXENV=py34-py | ||
- TOXENV=py34-cy | ||
- TOXENV=py35-cy | ||
- TOXENV=pypy | ||
before_install: | ||
- pip install --download-cache $HOME/.pip-cache --use-wheel --install-option="--no-cython-compile" cython | ||
- pip install --download-cache $HOME/.pip-cache tox | ||
|
||
python: | ||
- 2.6 | ||
- 2.7 | ||
- 3.3 | ||
- 3.4 | ||
- 3.5 | ||
- pypy | ||
|
||
matrix: | ||
# include test for flake8 | ||
include: | ||
- python: 3.5 | ||
script: tox -e flake8 | ||
|
||
install: | ||
- make build_ext | ||
- pip install cython tox | ||
|
||
script: | ||
- tox -v | ||
- tox -e py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,19 @@ | ||
[tox] | ||
envlist = flake8, {py26,py27,py33,py34}-{py,cy}, pypy | ||
envlist = flake8, py26, py27, py33, py34, py35, pypy | ||
|
||
[testenv] | ||
changedir = tests | ||
basepython = | ||
py26: python2.6 | ||
py27: python2.7 | ||
py33: python3.3 | ||
py34: python3.4 | ||
py35: python3.5 | ||
pypy: pypy | ||
deps = | ||
pytest>=2.8 | ||
teamcity-messages>=1.8 | ||
tornado>=4.0,<5.0 | ||
toro>=0.6 | ||
cy: cython>=0.23 | ||
install_command = | ||
pip install --download-cache $HOME/.pip-cache {opts} {packages} | ||
changedir = | ||
tests | ||
|
||
commands = | ||
python --version | ||
py.test {posargs} | ||
py.test [] | ||
|
||
[testenv:flake8] | ||
basepython = python3.5 | ||
deps = | ||
flake8 >=2.5 | ||
commands = | ||
flake8 . | ||
pytest | ||
tornado | ||
toro | ||
cython | ||
|
||
[testenv:flake8] | ||
deps = flake8 | ||
commands = flake8 . |