-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from Thriftpy/feature/fix-ci
fix ci and bump gevent and gunicorn to latest
- Loading branch information
Showing
12 changed files
with
386 additions
and
360 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,27 +1,30 @@ | ||
language: python | ||
sudo: required | ||
dist: xenial | ||
|
||
matrix: | ||
include: | ||
- python: 2.7 | ||
env: TOXENV=py27 | ||
- python: 3.4 | ||
env: TOXENV=py34 | ||
- python: 3.5 | ||
env: TOXENV=py35 | ||
- python: 3.6 | ||
env: TOXENV=py36 | ||
- python: 3.7 | ||
env: TOXENV=py37 | ||
|
||
install: | ||
- pip install tox | ||
env: | ||
- TOXENV=py27 | ||
- TOXENV=py34 | ||
- TOXENV=py35 | ||
|
||
script: | ||
- tox | ||
|
||
cache: | ||
directories: | ||
- thrift-0.9.3 | ||
|
||
before_install: | ||
- pyenv global system 3.5 | ||
- ls "thrift-0.9.3" | grep "bootstrap.sh" || wget https://github.com/apache/thrift/archive/0.9.3.tar.gz -O thrift.tar.gz | ||
- ls "thrift-0.9.3" | grep "bootstrap.sh" || tar xf thrift.tar.gz | ||
- cd thrift-0.9.3 | ||
- ./bootstrap.sh | ||
- ./configure --without-haskell --without-java --without-php --without-nodejs --without-cpp --without-lua --without-perl --without-ruby --without-erlang --without-rust --without-c_glib --without-go | ||
- make | ||
- sudo make install | ||
- sudo apt-get update | ||
- sudo apt-get install -y thrift-compiler | ||
|
||
after_success: | ||
- pip install python-coveralls | ||
- coveralls |
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,6 +1,6 @@ | ||
setproctitle==1.1.10 | ||
gevent>=1.0.1 | ||
gunicorn>=19.3.0,<19.4.0 | ||
gunicorn>=19.9.0,<19.10.0 | ||
wsgiref==0.1.2 | ||
thrift>=0.9.3 | ||
thriftpy2>=0.4.0 |
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,4 +1,4 @@ | ||
setproctitle==1.1.10 | ||
gevent>=1.2,<1.3 | ||
gevent>=1.4,<1.5 | ||
gunicorn>=19.4.0 | ||
thriftpy2>=0.4.0 |
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,4 +1,5 @@ | ||
pytest | ||
pytest-cov | ||
gevent==1.2.2 | ||
thrift>=0.9.3 | ||
thrift==0.9.3 | ||
futures==3.2.0 |
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,4 +1,4 @@ | ||
pytest | ||
pytest-cov | ||
gevent==1.2.2 | ||
gevent>=1.4,<1.5 | ||
thrift>=0.9.3 |
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
Oops, something went wrong.