From ad0cfb89dd369e654e67f5470d89cf147df0b2d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sat, 14 Mar 2020 16:36:42 +0100 Subject: [PATCH] use python-coveralls As recommended by https://docs.coveralls.io/python Attempting to fix #642 --- sample_files/.gitlab-ci-2.yml | 2 +- travis/travis_install_nightly | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sample_files/.gitlab-ci-2.yml b/sample_files/.gitlab-ci-2.yml index c12b2419f..d49c3ef7a 100644 --- a/sample_files/.gitlab-ci-2.yml +++ b/sample_files/.gitlab-ci-2.yml @@ -22,7 +22,7 @@ variables: before_script: - curl -sL https://deb.nodesource.com/setup_10.x | bash - - apt-get install -y sudo postgresql-client expect-dev python-lxml nodejs python-dev python-pip build-essential libsasl2-dev python-dev libldap2-dev libssl-dev - - pip install codecov==2.0.15 coveralls==1.8.2 coverage + - pip install codecov python-coveralls coverage lint: stage: test diff --git a/travis/travis_install_nightly b/travis/travis_install_nightly index b927acfe9..5d1fcd4e0 100755 --- a/travis/travis_install_nightly +++ b/travis/travis_install_nightly @@ -108,7 +108,7 @@ sed -i '/^python-ldap\=\=/d' ${ODOO_PATH}/requirements.txt sed -i 's/^requests\=\=/requests[security]\=\=/g' ${ODOO_PATH}/requirements.txt pip install -q --no-binary pycparser -r ${ODOO_PATH}/requirements.txt -pip install -q QUnitSuite codecov==2.0.15 coveralls==1.8.2 +pip install -q QUnitSuite codecov python-coveralls # Use reference .coveragerc cp ${HOME}/maintainer-quality-tools/cfg/.coveragerc .