From 4f7258aacaa5acf37c64769fa18da57f7dbd606e Mon Sep 17 00:00:00 2001 From: John Bodley Date: Sun, 4 Mar 2018 12:49:55 -0800 Subject: [PATCH] [coverage] Replacing coveralls with codecov --- .coveralls.yml | 1 - .travis.yml | 4 +++- README.md | 4 ++-- dev-reqs.txt | 1 - run_tests.sh | 3 --- tox.ini | 5 ----- 6 files changed, 5 insertions(+), 13 deletions(-) delete mode 100644 .coveralls.yml 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