Skip to content

Commit

Permalink
Add cloc to build
Browse files Browse the repository at this point in the history
  • Loading branch information
standage committed May 20, 2017
1 parent acbefd1 commit 3130636
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
dist: trusty
language: python
addons:
apt:
packages:
- cloc
branches:
only: # don't build "pushes" except on the master branch
- master
Expand All @@ -20,4 +24,5 @@ script:
- make style
- make doc
after_success:
- make loc
- bash <(curl -s https://codecov.io/bash)
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ testall:

doc:
cd docs && make html

loc:
cloc --exclude-list-file=<(echo kevlar/_version.py) kevlar/*.py kevlar/cli/*.py
cloc kevlar/tests/test_*.py

0 comments on commit 3130636

Please sign in to comment.