Skip to content

Use codecov instead of coveralls #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,21 @@ sudo: false
env:
global:
- CONDA_DEPENDENCIES="pytest pytest-cov numpy astropy"
- PIP_DEPENDENCIES="coveralls"
- PIP_DEPENDENCIES="codecov"
matrix:
- PYTHON_VERSION=2.7
- PYTHON_VERSION=3.5
- PYTHON_VERSION=3.6

install:
- git clone git://github.com/astropy/ci-helpers.git
- source ci-helpers/travis/setup_conda_$TRAVIS_OS_NAME.sh
- source ci-helpers/travis/setup_conda.sh

# Make sure pytest-arraydiff wasn't installed by conda
- conda remove pytest-arraydiff --force || true

# Need to use develop instead of install to make sure coverage works
- python setup.py develop
- pip install -e .

script:
- python -c 'import pytest_arraydiff.plugin'
Expand All @@ -25,4 +28,4 @@ script:
- python setup.py check --restructuredtext

after_success:
- coveralls
- codecov
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ environment:
# of 32 bit and 64 bit builds are needed, move this
# to the matrix section.
CONDA_DEPENDENCIES: "pytest numpy astropy"
PIP_DEPENDENCIES: "codecov"

matrix:
- PYTHON_VERSION: "2.7"
Expand All @@ -28,3 +29,4 @@ build: false

test_script:
- "%CMD_IN_ENV% py.test tests --arraydiff"
- "%CMD_IN_ENV% codecov"
1 change: 0 additions & 1 deletion pytest_arraydiff/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ def pytest_runtest_setup(self, item):
compare = item.get_marker('array_compare')
else:
compare = item.get_closest_marker('array_compare')


if compare is None:
return
Expand Down