From 692afb663a57d428fdbf495642c70d4dba56c830 Mon Sep 17 00:00:00 2001 From: Cybrosys Technologies Date: Tue, 22 May 2018 15:32:56 +0530 Subject: [PATCH] Create .travis.yml --- .travis.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..4b867a73c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,26 @@ +language: python + +python: + - "3.5" + +env: + - VERSION="11.0" LINT_CHECK="1" + - VERSION="11.0" ODOO_REPO="odoo/odoo" LINT_CHECK="0" + - VERSION="11.0" ODOO_REPO="OCA/OCB" LINT_CHECK="0" + - VERSION="11.0" UNIT_TEST="1" LINT_CHECK="0" + +virtualenv: + system_site_packages: true + +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 + - sudo pip install python-ldap lxml + - printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc + - ln -s server_environment_files_sample ./server_environment_files +script: + - travis_run_tests + +after_success: + coveralls