Skip to content

Commit

Permalink
Simplified coveralls integration.
Browse files Browse the repository at this point in the history
  • Loading branch information
apollo13 committed Jan 21, 2017
1 parent 0947a45 commit 88af921
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 40 deletions.
12 changes: 10 additions & 2 deletions .travis.yml
Expand Up @@ -30,13 +30,21 @@ matrix:
language: generic
env: TOXENV=pypy
before_install: brew install pypy
- python: 3.6
install: pip install -U flake8
script: flake8
after_success: []
- python: 3.6
install: pip install -U isort
script: isort -c --diff
after_success: []

install:
- pip install tox-travis
- pip install -Ur requirements-test.txt
- pip install -Ue .
- coverage erase

script: tox
script: tox -- --cov=./circuits --no-cov-on-fail --cov-report=

after_success: coveralls

Expand Down
4 changes: 3 additions & 1 deletion requirements-test.txt
@@ -1,3 +1,5 @@
pytest
coveralls
pytest
pytest-cov
tox
tox-travis
8 changes: 2 additions & 6 deletions setup.py
@@ -1,10 +1,8 @@
#!/usr/bin/env python


import sys
from glob import glob


from setuptools import setup, find_packages
from setuptools import find_packages, setup


def read_file(filename):
Expand Down Expand Up @@ -77,13 +75,11 @@ def read_file(filename):
]
),
scripts=glob("bin/*"),
install_requires=[],
entry_points={
"console_scripts": [
"circuits.web=circuits.web.main:main",
]
},
test_suite="tests.main.main",
zip_safe=True,
use_scm_version={
"write_to": "circuits/version.py",
Expand Down
30 changes: 0 additions & 30 deletions tests/main.py

This file was deleted.

1 change: 0 additions & 1 deletion tox.ini
Expand Up @@ -11,7 +11,6 @@ skip_missing_interpreters = True
commands=py.test {posargs}
deps =
pytest
coveralls
pytest-cov

[testenv:docs]
Expand Down

0 comments on commit 88af921

Please sign in to comment.