diff options
author | Marcel Hellkamp <marc@gsites.de> | 2017-06-09 21:33:21 +0200 |
---|---|---|
committer | Marcel Hellkamp <marc@gsites.de> | 2017-07-22 10:27:12 +0200 |
commit | 600e50156acf7cce054a9fd0d5322d290e3cbd43 (patch) | |
tree | 63e7e9cc78c570d44db7e41b57528bbe16996426 | |
parent | 66544f093a2618c870313bdf3cb526c8f7fb61c1 (diff) | |
download | bottle-600e50156acf7cce054a9fd0d5322d290e3cbd43.tar.gz |
fix: Travis-CI _makerlib bug.
-rwxr-xr-x | test/travis_setup.sh | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/test/travis_setup.sh b/test/travis_setup.sh index d33d47c..3ba2e1a 100755 --- a/test/travis_setup.sh +++ b/test/travis_setup.sh @@ -1,24 +1,26 @@ +#!/usr/bin/env bash # This script is run by travis-ci prior to running tests. set -e set -x -# 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 +# Just to be sure +pip install -U pip +# pip is not able to install distribute: "ImportError: No module named _markerlib" +easy_install distribute +pip install -U coverage 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 - sudo apt-get install libev-dev + sudo apt-get update -y + sudo apt-get install -y 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 + sudo apt-get update -y + sudo apt-get install -y libev-dev pip install mako jinja2 waitress "cherrypy<9" cheroot paste tornado twisted diesel meinheld gunicorn eventlet pip install uvloop fi |