]> Devi Nivas Git - chevron.git/commitdiff
Ok, this time I think I actually fixed coverage
authornoah morrison <noah@morrison.ph>
Sun, 10 May 2015 01:43:26 +0000 (21:43 -0400)
committernoah morrison <noah@morrison.ph>
Sun, 10 May 2015 01:43:26 +0000 (21:43 -0400)
The --source flag should tell coverage to only test chevron,
hopefully...

.coveragerc
.travis.yml

index e24d28fb7ecf02517dee659deb427f2cfcbddc5f..e8db2a59bc47b3f65fcec2cece9fa7df537ad29d 100644 (file)
@@ -1,10 +1,3 @@
-[run]
-omit =
-    /usr/lib/python2.6/site-packages/*
-    /usr/lib/python2.7/site-packages/*
-    /usr/lib/python3.3/site-packages/*
-    /usr/lib/python3.4/site-packages/*
-
 [report]
 exclude_lines =
     if __name__ == .__main__.:
index 00fb9a849a910c9e401906ac3c61b44cc64b5ae4..10d028f258abcef96baed5178f7ce0e560321999 100644 (file)
@@ -11,6 +11,6 @@ install:
 script:
   - flake8 .
   - ./test_spec.py
-  - coverage -x ./test_spec.py
+  - coverage run --source=chevron ./test_spec.py
 after_success:
   - coveralls