File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 11language : python
22python :
3- - " 3.5"
43 - " 2.7"
4+ - " 3.5"
55
66before_install :
77 - mkdir -p $HOME/bin
@@ -13,7 +13,12 @@ install:
1313
1414script :
1515 - export PYTHONPATH=$PYTHONPATH:$TRAVIS_BUILD_DIR
16- - py.test --junit-xml=testresults.xml
16+ - py.test --junit-xml=testresults.xml --cov=python_testspace_xml --cov-report xml:coverage.xml --cov-report term
1717
1818after_script :
19- - testspace [$TRAVIS_PYTHON_VERSION]testresults*.xml
19+ - if [ "${TRAVIS_PYTHON_VERSION}" = "3.5" ]; then
20+ flake8 --max-line-length=100 --output-file=flake8.txt --exit-zero;
21+ testspace [${TRAVIS_PYTHON_VERSION}]flake8.txt{lint} [${TRAVIS_PYTHON_VERSION}/tests]testresults.xml{tests} [${TRAVIS_PYTHON_VERSION}]coverage.xml;
22+ else
23+ testspace [${TRAVIS_PYTHON_VERSION}/tests]testresults.xml{tests};
24+ fi
Original file line number Diff line number Diff line change 11pytest
2- lxml
2+ lxml
3+ flake8
4+ pep8-naming
5+ pytest-cov
You can’t perform that action at this time.
0 commit comments