Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ pip-log.txt
.coverage*
.tox
.noseids
htmlcov/

# Translations
*.mo
Expand Down
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,9 @@ matrix:
- python: '2.7'
env: COVER=1
- python: '3.3'
env: COVER=0
- python: '3.4'
env: COVER=0
- python: '3.5'
env: COVER=0
- python: '3.6'
env: COVER=0

before_install:
- bash travis/install-redis.sh
Expand All @@ -23,3 +19,7 @@ install:

script:
- make test lint

after_success:
if [ "$COVER" = "1" ]; then coveralls -v ; fi

4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ lint:
test:
$(pytest) $(test_args)

coverage:
coverage run --source $(project) setup.py test
coverage report -m
coverage: test
coverage html
open htmlcov/index.html

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
],
extras_require={
'tests': [
'coveralls',
'doubles',
'flake8<3', # see https://github.com/zheller/flake8-quotes/issues/29
'flake8-quotes',
Expand Down