Skip to content

Commit

Permalink
improve coverage settings, add test_requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Sep 5, 2016
1 parent 1687112 commit d3615aa
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
[run]
include = apps*
omit = apps/cyklomapa/migrations*
plugins =
django_coverage_plugin
branch = True
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ before_script:
- npm install uglify-js -g
- psql -c 'create database travis_ci_test;' -U postgres
- psql --no-password travis_ci_test -U postgres -c "create extension postgis"
- pip install coverage coveralls
- pip install -r test_requirements.txt
- cd project && cp settings_local_sample.py settings_local.py && cd ..
- pip install -q "$DJANGO_VERSION"
- python manage.py collectmedia --noinput
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ django-feedback

django-compressor
lxml
-e git+https://github.com/PetrDlouhy/django-admin-smoke-tests.git#egg=django-admin-smoke-tests
freezegun
wsgiunproxy
django-media-fixtures
4 changes: 4 additions & 0 deletions test_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
coverage
coveralls
django_coverage_plugin
-e git+https://github.com/PetrDlouhy/django-admin-smoke-tests.git#egg=django-admin-smoke-tests

0 comments on commit d3615aa

Please sign in to comment.