diff --git a/.travis.yml b/.travis.yml index d8446f12e..0fd994944 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,7 +36,7 @@ env: - VERSION="7.0" LINT_CHECK="1" TESTS="0" PYLINT_EXPECTED_ERRORS="24" TRAVIS_PULL_REQUEST="true" # To check pylint_conf of PR's with old api - VERSION="" LINT_CHECK="1" TESTS="0" PYLINT_EXPECTED_ERRORS="21" TRAVIS_PULL_REQUEST="false" # To check VERSION empty or unset case. - INCLUDE="broken_no_access_rule" SERVER_EXPECTED_ERRORS="1" # test errors are detected - - AUTODOC="1" # build and deploy sphinx auto documentation + - AUTODOC="1" VERSION="7.0" INCLUDE="test_module,second_module" ODOO_REPO="OCA/OCB" # build and deploy sphinx auto documentation install: - cp -r ../maintainer-quality-tools/ $HOME diff --git a/travis/travis_install_nightly b/travis/travis_install_nightly index 4aec027ff..75ab55598 100755 --- a/travis/travis_install_nightly +++ b/travis/travis_install_nightly @@ -1,6 +1,6 @@ #!/bin/bash -set -e +set -ex if [ "${LINT_CHECK}" != "0" ]; then pip install -q flake8 Click pylint-mccabe @@ -14,7 +14,7 @@ if [ "${LINT_CHECK}" != "0" ]; then exit 0 fi -if [ "${AUTODOC}" != "0" ]; then +if [ "${AUTODOC}" == "1" ]; then pip install --upgrade -r ./travis/travis_autodoc_requirements.txt fi