File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -5,18 +5,21 @@ sudo: false
5
5
env :
6
6
global :
7
7
- CONDA_DEPENDENCIES="pytest pytest-cov numpy astropy"
8
- - PIP_DEPENDENCIES="coveralls "
8
+ - PIP_DEPENDENCIES="codecov "
9
9
matrix :
10
10
- PYTHON_VERSION=2.7
11
11
- PYTHON_VERSION=3.5
12
12
- PYTHON_VERSION=3.6
13
13
14
14
install :
15
15
- 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
17
20
18
21
# Need to use develop instead of install to make sure coverage works
19
- - python setup.py develop
22
+ - pip install -e .
20
23
21
24
script :
22
25
- python -c 'import pytest_arraydiff.plugin'
@@ -25,4 +28,4 @@ script:
25
28
- python setup.py check --restructuredtext
26
29
27
30
after_success :
28
- - coveralls
31
+ - codecov
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ environment:
8
8
# of 32 bit and 64 bit builds are needed, move this
9
9
# to the matrix section.
10
10
CONDA_DEPENDENCIES : " pytest numpy astropy"
11
+ PIP_DEPENDENCIES : " codecov"
11
12
12
13
matrix :
13
14
- PYTHON_VERSION : " 2.7"
@@ -28,3 +29,4 @@ build: false
28
29
29
30
test_script :
30
31
- " %CMD_IN_ENV% py.test tests --arraydiff"
32
+ - " %CMD_IN_ENV% codecov"
Original file line number Diff line number Diff line change @@ -217,7 +217,6 @@ def pytest_runtest_setup(self, item):
217
217
compare = item .get_marker ('array_compare' )
218
218
else :
219
219
compare = item .get_closest_marker ('array_compare' )
220
-
221
220
222
221
if compare is None :
223
222
return
You can’t perform that action at this time.
0 commit comments