Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
Restore coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
astrojuanlu committed Dec 13, 2015
1 parent 075eff8 commit fe0e15b
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .binstar.yml
Expand Up @@ -14,8 +14,8 @@ before_script:
- conda install pytest
script:
- conda install numpy=$NUMPY numba>=0.18 astropy>=1.0 matplotlib scipy jplephem
- python setup.py install # Tests setup.py correctness
- py.test -vv # Tests against installed code
- python setup.py install # Test setup.py correctness
- py.test -vv # Test against installed code
---
package: poliastro
platform: linux-64
Expand Down
10 changes: 7 additions & 3 deletions .coveragerc
@@ -1,5 +1,9 @@
[paths]
source = src

[run]
branch = True
source = src
omit =
poliastro/__init__.py
poliastro/tests/*.py
poliastro/twobody/tests/*.py
src/poliastro/tests/*
src/poliastro/twobody/tests/*
9 changes: 6 additions & 3 deletions .travis.yml
Expand Up @@ -32,13 +32,16 @@ before_install:

install:
- conda install numpy=$NUMPY numba>=0.18 astropy>=1.0 matplotlib scipy jplephem
- python setup.py install # Tests setup.py correctness
- python setup.py install # Test setup.py correctness

script:
- py.test -vv # Tests against installed code
- py.test -vv # Test against installed code
#- NUMBA_DISABLE_JIT=1 py.test --cov poliastro poliastro/tests poliastro/twobody/tests --cov-config .coveragerc

after_success:
#- codecov
- pip uninstall poliastro
- python setup.py develop
- NUMBA_DISABLE_JIT=1 py.test --cov
- codecov

sudo: false
9 changes: 6 additions & 3 deletions appveyor.yml
Expand Up @@ -50,12 +50,15 @@ install:

# Install dependencies
- "conda install -q numpy=%NUMPY% numba>=0.18 astropy>=1.0 matplotlib scipy jplephem"
- "python setup.py install" # Tests setup.py correctness
- "python setup.py install" # Test setup.py correctness

build: off

test_script:
- "py.test -vv" # Tests against installed code
- "py.test -vv" # Test against installed code

after_test:
#- "codecov"
- "pip uninstall poliastro"
- "python setup.py develop"
- "NUMBA_DISABLE_JIT=1 py.test --cov"
- "codecov"

0 comments on commit fe0e15b

Please sign in to comment.