john-bodley closed pull request #4533: [coverage] Replacing coveralls with 
codecov
URL: https://github.com/apache/incubator-superset/pull/4533
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/.coveralls.yml b/.coveralls.yml
deleted file mode 100644
index e916d8ed05..0000000000
--- a/.coveralls.yml
+++ /dev/null
@@ -1 +0,0 @@
-repo_token: 4P9MpvLrZfJKzHdGZsdV3MzO43OZJgYFn 
diff --git a/.travis.yml b/.travis.yml
index ba589d4590..0a21126e69 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,5 +27,7 @@ before_script:
   - export PATH=${PATH}:/tmp/hive/bin
 install:
   - pip install --upgrade pip
-  - pip install tox tox-travis
+  - pip install codecov tox tox-travis
 script: tox -e $TOX_ENV
+after_success:
+  - codecov
diff --git a/README.md b/README.md
index ef5464ee6c..a205a1c2c5 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@ Superset
 
 [![Build 
Status](https://travis-ci.org/apache/incubator-superset.svg?branch=master)](https://travis-ci.org/apache/incubator-superset)
 [![PyPI 
version](https://badge.fury.io/py/superset.svg)](https://badge.fury.io/py/superset)
-[![Coverage 
Status](https://coveralls.io/repos/apache/incubator-superset/badge.svg?branch=master&service=github)](https://coveralls.io/github/apache/incubator-superset?branch=master)
+[![Coverage 
Status](https://codecov.io/github/apache/incubator-superset/coverage.svg?branch=master)](https://codecov.io/github/apache/incubator-superset)
 
[![PyPI](https://img.shields.io/pypi/pyversions/superset.svg?maxAge=2592000)](https://pypi.python.org/pypi/superset)
 [![Requirements 
Status](https://requires.io/github/apache/incubator-superset/requirements.svg?branch=master)](https://requires.io/github/apache/incubator-superset/requirements/?branch=master)
 [![Join the chat at 
https://gitter.im/airbnb/superset](https://badges.gitter.im/apache/incubator-superset.svg)](https://gitter.im/airbnb/superset?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
@@ -165,7 +165,7 @@ the world know they are using Superset. Join our growing 
community!
  - [Konf?o](http://konfio.mx)
  - [Lyft](https://www.lyft.com/)
  - [Maieutical Labs](https://cloudschooling.it)
- - [PeopleDoc](https://www.people-doc.com) 
+ - [PeopleDoc](https://www.people-doc.com)
  - [Ona](https://ona.io)
  - [Pronto Tools](http://www.prontotools.io)
  - [Qunar](https://www.qunar.com/)
diff --git a/dev-reqs.txt b/dev-reqs.txt
index 91a74d6a44..b565fbdf23 100644
--- a/dev-reqs.txt
+++ b/dev-reqs.txt
@@ -1,5 +1,4 @@
 codeclimate-test-reporter
-coveralls
 flake8
 flask_cors
 ipdb
diff --git a/run_tests.sh b/run_tests.sh
index de40d6c75c..0648b5703c 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -10,6 +10,3 @@ set -e
 superset/bin/superset db upgrade
 superset/bin/superset version -v
 python setup.py nosetests
-if [ "$CI" = "true" ] ; then
-  coveralls
-fi
diff --git a/tox.ini b/tox.ini
index 280bcb4798..efdb8aba74 100644
--- a/tox.ini
+++ b/tox.ini
@@ -45,13 +45,8 @@ whitelist_externals =
     npm
 passenv =
     HOME
-    TRAVIS
-    TRAVIS_BRANCH
-    TRAVIS_BUILD_DIR
-    TRAVIS_JOB_ID
     USER
     TRAVIS_CACHE
-    TRAVIS_PULL_REQUEST
     PATH
 commands =
   python --version


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to