From 52d698635e228f3947f074a3017f6218fabe2b24 Mon Sep 17 00:00:00 2001 From: Diederik van der Boor Date: Thu, 15 Dec 2016 15:58:34 +0100 Subject: [PATCH] coverage: ignore south_migrations --- .coveragerc | 5 +++++ .travis.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 00000000..7a8e6a7d --- /dev/null +++ b/.coveragerc @@ -0,0 +1,5 @@ +[run] +source = fluent_contents/ +omit = + */south_migrations/* + */migrations/* diff --git a/.travis.yml b/.travis.yml index 07722482..9dba817d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,7 +35,7 @@ install: - pip install -U pip wheel setuptools - pip install -q $DJANGO -r test-requirements.txt -e . script: -- coverage run --source=fluent_contents runtests.py +- coverage run --rcfile=.coveragerc runtests.py after_success: - codecov branches: