#!/bin/sh

set -eux

case "$TEST_MODE"
in
    run_tests)
        if [ $TRAVIS_PYTHON_VERSION = "2.6" ]; then pip install unittest2; fi
        pip install werkzeug
        python setup.py install
        ;;
    coverage)
        pip install coverage codecov
        pip install werkzeug
        python setup.py install
        ;;
    check_style)
        pip install flake8
        ;;
esac

#!/bin/sh

set -eux

# Update things
pip install -U setuptools pip

case "$TEST_MODE"
in
    run_tests)
        if [ $TRAVIS_PYTHON_VERSION = "2.6" ]; then pip install unittest2; fi
        pip install werkzeug
        python setup.py install
        ;;
    coverage)
        pip install coverage codecov
        pip install werkzeug
        python setup.py install
        ;;
    check_style)
        pip install flake8
        ;;
esac

Update setuptools & pip for requests
Update setuptools & pip for requests
