Fix tests
This commit is contained in:
parent
32720577ae
commit
bc50483fb3
|
|
@ -11,7 +11,6 @@ addons:
|
||||||
- expect-dev # provides unbuffer utility
|
- expect-dev # provides unbuffer utility
|
||||||
- python-lxml # because pip installation is slow
|
- python-lxml # because pip installation is slow
|
||||||
- unixodbc-dev
|
- unixodbc-dev
|
||||||
- python-mysqldb
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
|
@ -25,7 +24,6 @@ env:
|
||||||
- TESTS="1" ODOO_REPO="OCA/OCB"
|
- TESTS="1" ODOO_REPO="OCA/OCB"
|
||||||
- TESTS="1" ODOO_REPO="odoo/odoo"
|
- TESTS="1" ODOO_REPO="odoo/odoo"
|
||||||
|
|
||||||
#hello
|
|
||||||
install:
|
install:
|
||||||
- pip install -q unidecode
|
- pip install -q unidecode
|
||||||
- pip install unicodecsv
|
- pip install unicodecsv
|
||||||
|
|
@ -35,6 +33,8 @@ install:
|
||||||
# Requirements to test server_environment modules
|
# Requirements to test server_environment modules
|
||||||
- printf '[options]\n\nrunning_env = dev\n' > ${HOME}/.openerp_serverrc
|
- 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
|
- ln -s ${TRAVIS_BUILD_DIR}/server_environment_files_sample ${TRAVIS_BUILD_DIR}/server_environment_files
|
||||||
|
# Install libraries that require specific development headers, but not during lint test
|
||||||
|
- if ! [ "$LINT_CHECK" = "1" ]; then pip install pymssql pyodbc; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- travis_run_tests
|
- travis_run_tests
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue