mirror of
https://github.com/wassname/simpeg.git
synced 2026-08-03 13:10:16 +08:00
update coveralls
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
[run]
|
||||
source = simpegem
|
||||
source = simpegEM
|
||||
omit =
|
||||
*/python?.?/*
|
||||
*/lib-python/?.?/*.py
|
||||
|
||||
+9
-13
@@ -1,11 +1,6 @@
|
||||
language: python
|
||||
python:
|
||||
- 2.7
|
||||
notifications:
|
||||
- rowanc1@gmail.com
|
||||
# - dwfmarchant@gmail.com
|
||||
# - sgkang09@gmail.com
|
||||
# - lindseyheagy@gmail.com
|
||||
|
||||
# Setup anaconda
|
||||
before_install:
|
||||
@@ -28,18 +23,19 @@ before_install:
|
||||
|
||||
# Install packages
|
||||
install:
|
||||
- conda install --yes pip python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib
|
||||
# - conda install --yes python=$TRAVIS_PYTHON_VERSION atlas numpy scipy matplotlib nose dateutil pandas statsmodels
|
||||
# Coverage packages are on dan_blanchard's binstar channel
|
||||
# - conda install --yes -c dan_blanchard python-coveralls #nose-cov
|
||||
- pip install --use-mirrors nose-cov python-coveralls
|
||||
# - pip install -r requirements.txt
|
||||
# - python setup.py install
|
||||
- conda install --yes pip python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib cython
|
||||
- pip install nose-cov python-coveralls
|
||||
|
||||
# Run test
|
||||
script:
|
||||
- nosetests --with-cov --cov simpegem --cov-config .coveragerc --logging-level=INFO
|
||||
- nosetests --with-cov --cov simpegEM --cov-config .coveragerc
|
||||
|
||||
# Calculate coverage
|
||||
after_success:
|
||||
- coveralls --config_file .coveragerc
|
||||
|
||||
notifications:
|
||||
- rowanc1@gmail.com
|
||||
# - dwfmarchant@gmail.com
|
||||
# - sgkang09@gmail.com
|
||||
# - lindseyheagy@gmail.com
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
simpegem
|
||||
simpegEM
|
||||
========
|
||||
|
||||
A electromagnetic forward modelling and inversion package for SimPEG.
|
||||
A electromagnetic forward modeling and inversion package for SimPEG.
|
||||
|
||||
|
||||
|
||||
@@ -17,5 +17,8 @@ Tests:
|
||||
Build Status:
|
||||
[](https://travis-ci.org/simpeg/simpegem)
|
||||
|
||||
Coverage Status:
|
||||
[](https://coveralls.io/r/simpeg/simpegem?branch=master)
|
||||
|
||||
Bugs & Issues:
|
||||
[https://github.com/simpeg/simpegem/issues](https://github.com/simpeg/simpegem/issues)
|
||||
|
||||
@@ -57,6 +57,12 @@ Testing simpegEM
|
||||
:alt: Master Branch
|
||||
:align: center
|
||||
|
||||
* Coveralls Testing
|
||||
.. image:: https://coveralls.io/repos/simpeg/simpegem/badge.png?branch=master
|
||||
:target: https://coveralls.io/r/simpeg/simpegem?branch=master
|
||||
:alt: Coveralls
|
||||
:align: center
|
||||
|
||||
|
||||
Project Index & Search
|
||||
======================
|
||||
|
||||
Reference in New Issue
Block a user