From: Lasse Schuirmann Date: Tue, 4 Aug 2015 09:02:14 +0000 (+0200) Subject: travis: Submit coverage to codecov X-Git-Tag: dev-2a51c9b95d06~43^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d333ae7e085a718d4460cd6629ee2bbf51c5f45c;p=thirdparty%2Fbabel.git travis: Submit coverage to codecov --- diff --git a/.travis.yml b/.travis.yml index a876247c..cda41362 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,13 +9,15 @@ python: install: - pip install --upgrade pip - - pip install pytest + - pip install pytest pytest-cov - pip install --editable . # Use travis docker infrastructure for greater speed sudo: false -script: make test +script: + - make test-cov + - bash <(curl -s https://codecov.io/bash) notifications: email: false diff --git a/Makefile b/Makefile index c0adaa10..ea4d75f9 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ test: import-cldr @PYTHONWARNINGS=default py.test +test-cov: import-cldr + @PYTHONWARNINGS=default py.test --cov=babel + test-env: @virtualenv test-env @test-env/bin/pip install pytest