Skip to content

Commit

Permalink
Merge pull request #49 from skirpichev/coveralls.io
Browse files Browse the repository at this point in the history
Enable coveralls.io reports
  • Loading branch information
skirpichev committed Apr 11, 2015
2 parents 46cca92 + 7a0fc09 commit d56d5e0
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 121 deletions.
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ matrix:
- python: "pypy3"
env:
- SPLIT="2/2" FASTCACHE="false"
allow_failures:
- python: "pypy3"
env:
- SPLIT="2/2" FASTCACHE="false"
before_install:
- if [[ "${FASTCACHE}" != "false" ]]; then
pip install fastcache;
Expand All @@ -52,6 +48,9 @@ before_install:
pip install pep8==1.6.2;
fi
- pip install pytest==2.7.0
- if [[ "${TRAVIS_PYTHON_VERSION}" == "2.7" ]]; then
pip install pytest-cov coveralls --use-mirrors;
fi
install:
- if [[ "${TEST_SAGE}" != "true" ]]; then
python setup.py install;
Expand All @@ -61,5 +60,9 @@ script:
pep8;
fi
- travis_wait 50 bin/test_travis.sh
after_success:
- if [[ "${TRAVIS_PYTHON_VERSION}" == "2.7" ]]; then
coveralls;
fi
notifications:
email: false
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ SymPy
.. image:: https://secure.travis-ci.org/skirpichev/omg.png?branch=master
:target: http://travis-ci.org/skirpichev/omg

.. image:: https://coveralls.io/repos/skirpichev/omg/badge.svg
:target: https://coveralls.io/r/skirpichev/omg

.. image:: https://readthedocs.org/projects/omg/badge/?version=latest
:target: https://readthedocs.org/projects/omg/?badge=latest
:alt: Documentation Status
Expand Down
114 changes: 0 additions & 114 deletions bin/coverage_report.py

This file was deleted.

16 changes: 13 additions & 3 deletions bin/test_travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,19 @@ EOF
elif [[ "${TEST_SLOW}" == "true" ]]; then
py.test -m 'slow' --duration=100 --split="${SPLIT}" sympy/
elif [[ "${TEST_EXTRA}" == "true" ]]; then
py.test sympy/printing/tests/test_theanocode.py
py.test sympy/external/tests/test_autowrap.py
py.test --duration=100 sympy/polys/ sympy/plotting/
if [[ "${TRAVIS_PYTHON_VERSION}" == "2.7" ]]; then
py.test --duration=100 --cov sympy \
sympy/printing/tests/test_theanocode.py \
sympy/external/tests/test_autowrap.py \
sympy/polys/ sympy/plotting/
else
py.test --duration=100 \
sympy/printing/tests/test_theanocode.py \
sympy/external/tests/test_autowrap.py \
sympy/polys/ sympy/plotting/
fi
elif [[ "${TRAVIS_PYTHON_VERSION}" == "2.7" ]]; then
py.test -m 'not slow' --duration=100 --cov sympy --split="${SPLIT}" sympy/
else
py.test -m 'not slow' --duration=100 --split="${SPLIT}" sympy/
fi
Expand Down
3 changes: 3 additions & 0 deletions sympy/simplify/tests/test_hyperexpand.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def randcplx(offset=-1):
return _randrat() + I*_randrat() + I*(1 + offset)


@slow
def test_formulae():
from sympy.simplify.hyperexpand import FormulaCollection
formulae = FormulaCollection().formulae
Expand Down Expand Up @@ -432,6 +433,7 @@ def test_meijerg_expand_fail():
assert can_do_meijer([S.Half], [], [-a, a], [0])


@slow
def test_meijerg():
# carefully set up the parameters.
# NOTE: this used to fail sometimes. I believe it is fixed, but if you
Expand Down Expand Up @@ -502,6 +504,7 @@ def test_meijerg_shift_operators():
s.apply(g, op), meijerg([a1], [a3 + 1, a4], [b1], [b3, b4], z), z)


@slow
def test_meijerg_confluence():
def t(m, a, b):
from sympy import sympify, Piecewise
Expand Down
1 change: 1 addition & 0 deletions sympy/solvers/tests/test_ode.py
Original file line number Diff line number Diff line change
Expand Up @@ -1820,6 +1820,7 @@ def test_nth_linear_constant_coeff_variation_of_parameters():
assert checkodesol(eq12, sol12, order=4, solve_for_func=False)[0]


@slow
def test_nth_linear_constant_coeff_variation_of_parameters_simplify_False():
# solve_variation_of_parameters shouldn't attempt to simplify the
# Wronskian if simplify=False. If wronskian() ever gets good enough
Expand Down

0 comments on commit d56d5e0

Please sign in to comment.