Commit 083176f1 authored by Adi Roiban's avatar Adi Roiban

Initial puslish to codecov.

parent 8db140b0
language: python
python: 2.7
env:
- TOX_ENV=pyflakes
- TOX_ENV=pypy
- TOX_ENV=py27
matrix:
include:
- python: 2.7
env: TOX_ENV=pyflakes
- python: pypy
env: TOX_ENV=pypy
- python: 2.7
env: TOX_ENV=py27-codecov-travis
install:
- pip install tox
......
#!/usr/bin/python
import sys
if sys.version_info > (3, 0):
raise Exception(("PyDoctor does not yet work on Python 3. Please see "
"https://github.com/twisted/pydoctor/issues/96 for "
"the tracking ticket for work on this."))
# if sys.version_info > (3, 0):
# raise Exception(("PyDoctor does not yet work on Python 3. Please see "
# "https://github.com/twisted/pydoctor/issues/96 for "
# "the tracking ticket for work on this."))
from setuptools import setup
......
[tox]
envlist =
py27,pypy,pyflakes
test-{py27,pypy,py27-codecov-travis},pyflakes
[testenv:pyflakes]
deps = pyflakes
commands = /bin/sh -c "find pydoctor/ -name \*.py ! -path '*/testpackages/*' | xargs pyflakes"
basepython = /usr/bin/python
[testenv]
passenv = *
deps =
coverage
Twisted
epydoc
nose
docutils
test: coverage
test: Twisted
test: epydoc
test: nose
test: docutils
coverage-publish: codecov
pyflakes: pyflakes
commands =
{envpython} --version
trial --version
coverage run --source pydoctor --omit pydoctor/test/* --branch {envdir}/bin/nosetests pydoctor
coverage report -m
test: {envpython} --version
test: trial --version
test: coverage erase
test: coverage run --source pydoctor --omit pydoctor/test/* --branch {envdir}/bin/nosetests pydoctor
test: coverage report -m
codecov-travis: coverage xml
codecov-travis: codecov
pyflakes: /bin/sh -c "find pydoctor/ -name \*.py ! -path '*/testpackages/*' | xargs pyflakes"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment