coverage: try using codecov

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-03-22 13:46:52 +02:00
parent 13e0e9d2e4
commit 72da7c9b4e
3 changed files with 9 additions and 12 deletions
+4
View File
@@ -1,6 +1,7 @@
branches:
only:
- master
- devel
platform: x86
@@ -12,6 +13,8 @@ environment:
GOOGLE_APPLICATION_CREDENTIALS: gcp-creds.json
GCP_CREDS:
secure: 96fJ3r2i2GohbXHwnSs5N4EplQ7q8YmLpPWM0AC+f4s=
CODECOV_TOKEN:
secure: Hp3+vwZzsh1i2qjitm/hujpXA475YNhUSgrdpQ7dliCVQC+1lVcQMiDWQ0K4DEH4
matrix:
@@ -61,6 +64,7 @@ test_script:
- nosetests --cover-inclusive --cover-erase --cover-package=dvc --with-coverage
after_test:
- codecov
- if "%APPVEYOR_REPO_TAG%"=="true" .\scripts\build_windows.cmd
artifacts:
+1 -8
View File
@@ -5,14 +5,7 @@ set -e
./unittests.sh
if [[ "$TRAVIS_OS_NAME" == "linux" && \
"$(python -c 'import sys; print(sys.version_info[0])')" == "2" && \
"$TRAVIS_PULL_REQUEST" == "false" && \
"$TRAVIS_BRANCH" == "master" && \
"$TRAVIS_SECURE_ENV_VARS" == "true" ]]; then
cat .coverage
codeclimate-test-reporter --file .coverage --debug --token $CC_TEST_REPORTER_ID
fi
codecov
if [[ ! -z "$TRAVIS_TAG" ]]; then
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
+4 -4
View File
@@ -1,7 +1,7 @@
nose>=1.3.7
mock>=2.0.0
coverage==4.3.1
codeclimate-test-reporter==0.2.3
xmltodict==0.11.0
awscli==1.14.18
coverage
codecov
xmltodict>=0.11.0
awscli>=1.14.18
pywin32; sys_platform == 'nt'