From 529829b9f1f4e855d8fa60af98f3988353b2c34e Mon Sep 17 00:00:00 2001 From: mhchia Date: Wed, 24 Jul 2019 16:41:19 +0800 Subject: [PATCH] Move `codecov` to tox.ini --- .travis.yml | 5 ++--- tox.ini | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 78937e3..92ab222 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,15 +6,14 @@ matrix: dist: xenial sudo: true env: TOXENV=py37-test - after_success: - - codecov - python: 3.7 dist: xenial sudo: true env: TOXENV=lint install: - - pip install --upgrade pip codecov tox + - pip install --upgrade pip + - pip install tox script: - tox diff --git a/tox.ini b/tox.ini index 1fc2b12..dd582b2 100644 --- a/tox.ini +++ b/tox.ini @@ -7,9 +7,11 @@ envlist = [testenv] deps = +passenv = CI TRAVIS TRAVIS_* extras = test commands = pytest --cov=./libp2p tests/ + codecov basepython = py37: python3.7