@@ -26,16 +26,11 @@ before_install:
2626 -git submodule update --init --recursive
2727
2828install :
29- -pip install -r requirements.txt -r requirements-test.txt --use-mirrors
30- -if [[ $USE_OPTIONAL == "true" ]]; then pip install -r requirements-optional.txt --use-mirrors; fi
31- -if [[ $TRAVIS_PYTHON_VERSION == "2.6" && $USE_OPTIONAL == "true" ]]; then pip install -r requirements-optional-2.6.txt --use-mirrors; fi
32- -if [[ $TRAVIS_PYTHON_VERSION != "pypy" && $USE_OPTIONAL == "true" ]]; then pip install -r requirements-optional-cpython.txt --use-mirrors; fi
33- -if [[ $FLAKE == "true" ]]; then pip install --use-mirrors flake8; fi
29+ -bash requirements-install.sh
3430
3531script :
3632 -nosetests
37- -if [[ $FLAKE == "true" ]]; then find html5lib/ -name '*.py' -and -not -name 'constants.py' -print0 | xargs -0 flake8 --ignore=E501; fi
38- -if [[ $FLAKE == "true" ]]; then flake8 --max-line-length=99 --ignore=E126 html5lib/constants.py; fi
33+ -bash flake8-run.sh
3934
4035after_script :
4136 -python debug-info.py