diff --git a/.gitignore b/.gitignore index ad49713..2bfa87c 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,8 @@ _build __pycache__ venv3 .idea +.vscode/settings.json +.pytest_cache/ +.coverage +Pipfile +Pipfile.lock diff --git a/.travis.yml b/.travis.yml index aba295e..560cad9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,28 @@ language: python python: - "2.7" - "3.2" + - "3.3" + - "3.4" + - "3.5" + - "3.6" + + # Enable 3.7 without globally enabling sudo and dist: xenial for other build jobs +matrix: + include: + - python: 3.7 + dist: xenial + sudo: true + # command to install dependencies install: - - "pip install . --use-mirrors" + - pip install -qq pytest + - pip install -qq "pytest-cov<2.6" + - pip install -qq python-coveralls + - pip install --upgrade pip # command to run tests -script: python -m unittest discover +script: + - py.test --cov=meta + +after_success: + - coveralls \ No newline at end of file diff --git a/README.rst b/README.rst index 027b129..294dab6 100644 --- a/README.rst +++ b/README.rst @@ -1,3 +1,9 @@ ++-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ +|Travis CI Dev | .. image:: https://travis-ci.org/viralogic/Meta.svg?branch=develop:target: https://travis-ci.org/viralogic/Meta | ++-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ +|Coveralls Dev | .. image:: https://coveralls.io/repos/github/viralogic/Meta/badge.svg?branch=developtarget: https://coveralls.io/github/viralogic/Meta | ++-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ + Meta ====