Skip to content

Commit c34c6c5

Browse files
ColCarrollspringcoil
authored andcommitted
Add coveralls (#1383)
1 parent 114675e commit c34c6c5

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@ before_install:
1414

1515
install:
1616
- . ./scripts/create_testenv.sh
17+
- pip install coveralls
1718

1819
env:
19-
- TESTCMD=" -vv --with-timer -e test_examples -e test_distributions" PYTHON_VERSION=${TRAVIS_PYTHON_VERSION}
20-
- TESTCMD=" -vv --with-timer pymc3.tests.test_distributions" PYTHON_VERSION=${TRAVIS_PYTHON_VERSION}
21-
- TESTCMD=" -vv --with-timer pymc3.tests.test_distributions_random" PYTHON_VERSION=${TRAVIS_PYTHON_VERSION}
20+
- TESTCMD=" -vv --with-timer --with-coverage --cover-package=pymc3 -e test_examples -e test_distributions" PYTHON_VERSION=${TRAVIS_PYTHON_VERSION}
21+
- TESTCMD=" -vv --with-timer --with-coverage --cover-package=pymc3 pymc3.tests.test_distributions" PYTHON_VERSION=${TRAVIS_PYTHON_VERSION}
22+
- TESTCMD=" -vv --with-timer --with-coverage --cover-package=pymc3 pymc3.tests.test_distributions_random" PYTHON_VERSION=${TRAVIS_PYTHON_VERSION}
2223

2324
script:
2425
- . ./scripts/test.sh $TESTCMD
2526

2627
after_success:
27-
- bash <(curl -s https://codecov.io/bash)
28+
- coveralls

scripts/create_testenv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ conda create -n testenv --yes pip python=${PYTHON_VERSION}
88

99
source activate testenv
1010

11-
conda install --yes pyqt=4.11.4 jupyter pyzmq numpy scipy nose matplotlib pandas Cython patsy statsmodels joblib
11+
conda install --yes pyqt=4.11.4 jupyter pyzmq numpy scipy nose matplotlib pandas Cython patsy statsmodels joblib coverage
1212
if [ ${PYTHON_VERSION} == "2.7" ]; then
1313
conda install --yes mock enum34;
1414
fi

0 commit comments

Comments
 (0)