Skip to content

Commit e3a71c5

Browse files
Leo Ariassergiusens
authored andcommitted
tests: replace coveralls with codecov (canonical#939)
LP: #1646572
1 parent fe7e108 commit e3a71c5

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ install:
2323
script:
2424
- docker run -e TEST_USER_EMAIL=$TEST_USER_EMAIL -e TEST_USER_PASSWORD=$TEST_USER_PASSWORD -e TEST_STORE=$TEST_STORE -v $(pwd):$(pwd) -t ubuntu:xenial sh -c "export LC_ALL=en_US.UTF-8 && locale-gen en_US.UTF-8 && sed -i s/archive.ubuntu.com/us.archive.ubuntu.com/g /etc/apt/sources.list && apt update && cd $(pwd) && $DEPENDENCIES && ./runtests.sh $TEST_SUITE"
2525
after_success:
26-
- pip install coveralls
27-
- coveralls
26+
- python3 -m coverage xml
27+
- pip install codecov
28+
- codecov

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url]
1+
[![Build Status][travis-image]][travis-url] [![Coverage Status][codecov-image]][codecov-url]
22

33
# Snapcraft
44

@@ -37,7 +37,7 @@ Get news and stay up to date on [Twitter](https://twitter.com/snapcraftio),
3737
[travis-image]: https://travis-ci.org/snapcore/snapcraft.svg?branch=master
3838
[travis-url]: https://travis-ci.org/snapcore/snapcraft
3939

40-
[coveralls-image]: https://coveralls.io/repos/snapcore/snapcraft/badge.svg?branch=master&service=github
41-
[coveralls-url]: https://coveralls.io/github/snapcore/snapcraft?branch=master
40+
[codecov-image]: https://codecov.io/github/snapcore/snapcraft/coverage.svg?branch=master
41+
[codecov-url]: https://codecov.io/github/snapcore/snapcraft?branch=master
4242

4343
[overview-image]: https://rawgit.com/snapcore/snapcraft/master/docs/images/snapcraft_overview.svg

0 commit comments

Comments
 (0)