Skip to content

Commit

Permalink
Adding .coveragerc & updating travis to show code coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
jackiekazil committed Mar 23, 2015
1 parent ce73753 commit 0ecf7d0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[report]
omit =
mesa/tests/*
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ install:
- sudo apt-get install libblas-dev liblapack-dev
- pip install numpy==1.9.1 pandas==0.15.2 tornado==4.0.2 flake8==2.4.0 matplotlib sympy nose
- travis_wait pip install scipy
- pip install coveralls
script:
# ignore:
- coverage run --source mesa setup.py test

# * E501 - line length limit
# * E123 - indentation on data structures
- flake8 . --ignore=F403,E501,E123,E128 --exclude=docs/

after_success:
- coveralls
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
numpy==1.9.1
pandas==0.15.2
ipython
scipy
ipython==3.0.0

tornado==4.0.2
flake8==2.4.0
scipy==0.15.1

0 comments on commit 0ecf7d0

Please sign in to comment.