Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
57b4d01c
Commit
57b4d01c
authored
Aug 21, 2013
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move coverage settings to separate file
parent
f177e221
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
1 deletion
+29
-1
.coveragerc
.coveragerc
+28
-0
.travis.yml
.travis.yml
+1
-1
No files found.
.coveragerc
0 → 100644
View file @
57b4d01c
[run]
branch = True
omit =
*migrations*
[paths]
source = .
[report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about missing debug-only code:
def __repr__
if self\.debug
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError
# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:
ignore_errors = True
.travis.yml
View file @
57b4d01c
...
...
@@ -68,7 +68,7 @@ script:
-
./manage.py validate --settings weblate.settings_test_$DATABASE
-
./manage.py syncdb --noinput --settings weblate.settings_test_$DATABASE
-
./manage.py migrate --settings weblate.settings_test_$DATABASE
-
coverage run --
branch --omit '*/migrations/*' --
source=. ./manage.py test --settings weblate.settings_test_$DATABASE trans lang accounts
-
coverage run --source=. ./manage.py test --settings weblate.settings_test_$DATABASE trans lang accounts
-
pep8 --exclude migrations accounts trans lang
after_success
:
-
coveralls
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment