Skip to content

Commit ca747f3

Browse files
authored
Merge pull request #17 from astropy/codecov
Use codecov instead of coveralls
2 parents 6c8bec9 + d95e26a commit ca747f3

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.travis.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,21 @@ sudo: false
55
env:
66
global:
77
- CONDA_DEPENDENCIES="pytest pytest-cov numpy astropy"
8-
- PIP_DEPENDENCIES="coveralls"
8+
- PIP_DEPENDENCIES="codecov"
99
matrix:
1010
- PYTHON_VERSION=2.7
1111
- PYTHON_VERSION=3.5
1212
- PYTHON_VERSION=3.6
1313

1414
install:
1515
- git clone git://github.com/astropy/ci-helpers.git
16-
- source ci-helpers/travis/setup_conda_$TRAVIS_OS_NAME.sh
16+
- source ci-helpers/travis/setup_conda.sh
17+
18+
# Make sure pytest-arraydiff wasn't installed by conda
19+
- conda remove pytest-arraydiff --force || true
1720

1821
# Need to use develop instead of install to make sure coverage works
19-
- python setup.py develop
22+
- pip install -e .
2023

2124
script:
2225
- python -c 'import pytest_arraydiff.plugin'
@@ -25,4 +28,4 @@ script:
2528
- python setup.py check --restructuredtext
2629

2730
after_success:
28-
- coveralls
31+
- codecov

appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ environment:
88
# of 32 bit and 64 bit builds are needed, move this
99
# to the matrix section.
1010
CONDA_DEPENDENCIES: "pytest numpy astropy"
11+
PIP_DEPENDENCIES: "codecov"
1112

1213
matrix:
1314
- PYTHON_VERSION: "2.7"
@@ -28,3 +29,4 @@ build: false
2829

2930
test_script:
3031
- "%CMD_IN_ENV% py.test tests --arraydiff"
32+
- "%CMD_IN_ENV% codecov"

pytest_arraydiff/plugin.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ def pytest_runtest_setup(self, item):
217217
compare = item.get_marker('array_compare')
218218
else:
219219
compare = item.get_closest_marker('array_compare')
220-
221220

222221
if compare is None:
223222
return

0 commit comments

Comments
 (0)