Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hopefully fixing travis-ci problems. Modeled after PR #945
- Loading branch information
Showing
3 changed files
with
21 additions
and
34 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
This file was deleted.
Oops, something went wrong.
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,14 +1,23 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
set -x | ||
# This script is run by travis-ci prior to running tests. | ||
|
||
sudo apt-get install libev-dev | ||
# Coverage 4.0 doesn't support Python 3.2 | ||
if [[ $TRAVIS_PYTHON_VERSION == 3.2 ]]; then | ||
pip install coverage==3.7.1 | ||
else | ||
pip install -U coverage | ||
fi | ||
|
||
pip install coveralls | ||
|
||
# Server back-ends and template engines. Not all back-ends support all python versions and we only want to test for 2.7 and 3.6 to keep things sane | ||
if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then | ||
pip install flup waitress cherrypy paste fapws3 tornado twisted diesel meinheld gunicorn eventlet gevent rocket bjoern | ||
sudo apt-get install libev-dev | ||
pip install mako jinja2 waitress "cherrypy<9" cheroot paste tornado twisted diesel meinheld gunicorn eventlet | ||
pip install flup fapws3 rocket bjoern gevent | ||
elif [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then | ||
sudo apt-get install libev-dev | ||
pip install mako jinja2 waitress "cherrypy<9" cheroot paste tornado twisted diesel meinheld gunicorn eventlet | ||
pip install uvloop | ||
fi | ||
|
||
if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then | ||
pip install waitress cherrypy paste tornado twisted diesel meinheld gunicorn eventlet gevent uvloop | ||
fi |