Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #627 from vauxoo-dev/oca-preinstall-moy
Browse files Browse the repository at this point in the history
[REF] install: pin coveralls version and supporting broken_uninstallable module
  • Loading branch information
moylop260 committed Feb 4, 2020
2 parents 23e9dec + d143726 commit 2c27091
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,19 @@ matrix:
env:
VERSION="12.0" ODOO_REPO="OCA/OCB" TESTS="1" LINT_CHECK="0"
INCLUDE="test_module,second_module"
SERVER_EXPECTED_ERRORS="1" # Supporting broken_uninstallable module after https://github.com/odoo/odoo/commit/c5d6a39
- python: 3.7-dev
env:
VERSION="12.0" ODOO_REPO="OCA/OCB" TESTS="1" LINT_CHECK="0"
INCLUDE="test_module,second_module"
SERVER_EXPECTED_ERRORS="1" # Supporting broken_uninstallable module after https://github.com/odoo/odoo/commit/c5d6a39

install:
- cp -r ../maintainer-quality-tools/ $HOME
- cp -r tests/test_repo/* ./
- export PATH=$HOME/maintainer-quality-tools/travis:$PATH
# Force install lint requirements in all cases of MQT for self_test script.
- pip install codecov coveralls
- pip install codecov==2.0.15 coveralls==1.8.2
- LINT_CHECK="1" travis_install_nightly 8.0 # only used if VERSION not set in env
- git --git-dir=${TRAVIS_BUILD_DIR}/.git add --all # All modules moved are modules changed to test PR changes

Expand Down
2 changes: 1 addition & 1 deletion sample_files/.gitlab-ci-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 coverage coveralls codecov
- pip install codecov==2.0.15 coveralls==1.8.2 coverage

lint:
stage: test
Expand Down
2 changes: 1 addition & 1 deletion travis/travis_install_nightly
Original file line number Diff line number Diff line change
Expand Up @@ -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 coveralls codecov
pip install -q QUnitSuite codecov==2.0.15 coveralls==1.8.2

# Use reference .coveragerc
cp ${HOME}/maintainer-quality-tools/cfg/.coveragerc .
Expand Down

0 comments on commit 2c27091

Please sign in to comment.