forked from OCA/website
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
309bc4f
commit 5b6ce4a
Showing
831 changed files
with
56 additions
and
682 deletions.
There are no files selected for viewing
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,78 @@ | ||
language: python | ||
sudo: false | ||
cache: pip | ||
cache: | ||
apt: true | ||
directories: | ||
- $HOME/.cache/pip | ||
|
||
python: | ||
- "2.7" | ||
|
||
virtualenv: | ||
system_site_packages: true | ||
|
||
git: | ||
submodules: false | ||
|
||
addons: | ||
apt: | ||
sources: | ||
- pov-wkhtmltopdf | ||
packages: | ||
- expect-dev # provides unbuffer utility | ||
- python-lxml # because pip installation is slow | ||
- build-essential | ||
- libssl-dev | ||
- libffi-dev | ||
- python-dev | ||
- libxml2-dev | ||
- libxslt1-dev | ||
- zlib1g-dev | ||
- curl | ||
- nodejs | ||
- npm | ||
- python-ldap | ||
- python-psycopg2 | ||
- python-simplejson | ||
- expect-dev | ||
- python-setuptools | ||
|
||
language: python | ||
|
||
python: | ||
- "2.7" | ||
|
||
before_install: | ||
- export TRAVIS_DEBUG_MODE="1" | ||
- git clone https://github.com/zeroincombenze/tools.git ${HOME}/tools --depth=1 | ||
- mv ${HOME}/tools/maintainer-quality-tools ${HOME} | ||
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH} | ||
- "export DISPLAY=:99.0" | ||
- "sh -e /etc/init.d/xvfb start" | ||
|
||
install: | ||
- travis_install_env | ||
# - 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 | ||
- export EXCLUDE=hw_scanner,hw_escpos,document_ftp,delivery,stock_invoice_directly,claim_from_delivery | ||
|
||
env: | ||
global: | ||
- VERSION="10.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0" | ||
- TRANSIFEX_USER='transbot@odoo-community.org' | ||
- secure: eNfbQI7Pkp3mjTFQgjrVVldmyE/Yn3+iCMVykhXppC85dJaCFMpjwPUfZa7p38tnnH7jhng2JL2tAXnJ4uOry0B3m9xYR7fNYXg/9uj1988FHvpDhfDFEKcMF8s70mr11HRijj6U8p6WDt/0ygD6aZ0LJzWzxhMFecFavOb6XOw= | ||
- VERSION="10.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0" WEBSITE_REPO="1" | ||
|
||
matrix: | ||
- LINT_CHECK="1" | ||
- LINT_CHECK="1" LINT_CHECK_LEVEL="MINIMAL" | ||
- TESTS="1" ODOO_REPO="odoo/odoo" | ||
- TESTS="1" ODOO_REPO="OCA/OCB" | ||
# - TRANSIFEX="0" | ||
|
||
virtualenv: | ||
system_site_packages: true | ||
|
||
before_install: | ||
- rvm install ruby --latest | ||
- gem install bootstrap-sass | ||
- gem install compass --pre | ||
- TESTS="1" ODOO_REPO="zeroincombenze/OCB" | ||
|
||
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 | ||
# Module website_seo_redirection intercepts any HTTP request, so if you see | ||
# some abnormal behavior in your controllers and suspect this is the guilty | ||
# module, just enable these 2 lines below to check that. | ||
# - TESTS="1" ODOO_REPO="odoo/odoo" EXCLUDE="website_seo_redirection" | ||
# - TESTS="1" ODOO_REPO="OCA/OCB" EXCLUDE="website_seo_redirection" | ||
|
||
script: | ||
- travis_run_tests | ||
|
||
after_success: | ||
- travis_after_tests_success | ||
- travis_after_tests_success |
Oops, something went wrong.