From 5ea363afad855dcc2bb23fb8c243382718b91471 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Tue, 7 Jun 2016 00:45:18 -0700 Subject: [PATCH] use codecov pypi package --- .appveyor.yml | 2 +- .travis.yml | 2 +- setup.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 6b3933f9e..b43a2b3d2 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -19,7 +19,7 @@ install: test_script: - "py.test --timeout 60 --cov netlib --cov mitmproxy --cov pathod" after_test: - - bash <(curl -s https://codecov.io/bash) + - "codecov" cache: - C:\Users\appveyor\AppData\Local\pip\cache deploy_script: diff --git a/.travis.yml b/.travis.yml index bba9a67f4..17669e67e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,7 +52,7 @@ script: - "py.test --timeout 60 --cov netlib --cov mitmproxy --cov pathod test/$SCOPE" after_success: - - bash <(curl -s https://codecov.io/bash) + - codecov - | if [[ $TRAVIS_OS_NAME == "osx" && $TRAVIS_PULL_REQUEST == "false" && ($TRAVIS_BRANCH == "master" || -n $TRAVIS_TAG) ]] then diff --git a/setup.py b/setup.py index e8829d492..ff36f873a 100644 --- a/setup.py +++ b/setup.py @@ -97,6 +97,7 @@ setup( "ipaddress>=1.0.15, <1.1", ], 'dev': [ + "codecov", "mock>=2.0, <2.1", "flake8>=2.5.4, <3", "pytest>=2.8.7, <2.10",