From a8df2ca34811f4a79d1439b9d60effd17f073d33 Mon Sep 17 00:00:00 2001 From: Dave Lasley Date: Wed, 25 Jan 2017 01:22:33 -0800 Subject: [PATCH] [10.0][FIX] Move DB libs to travis file (#713) Move libraries that require development headers to travis file to band-aid build --- .travis.yml | 2 ++ requirements.txt | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0a57ec885..d93895204 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,6 +33,8 @@ install: - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH} - travis_install_nightly + # Install libraries that require specific development headers, but not during lint test + - if ! [ "$LINT_CHECK" = "1" ]; then pip install pymssql MySQL-python pyodbc; fi - printf '[options]\n\nrunning_env = dev\n' > ${HOME}/.openerp_serverrc - ln -s ${TRAVIS_BUILD_DIR}/server_environment_files_sample ${TRAVIS_BUILD_DIR}/server_environment_files script: diff --git a/requirements.txt b/requirements.txt index 542c4176c..d6c435c7b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,6 +6,3 @@ validate_email pysftp fdb sqlalchemy -pymssql -MySQL-python -pyodbc