From 7e2fbcaf863ec174b2515d76cdcdc3ab5dffe54d Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Tue, 4 Aug 2015 19:29:27 +0200 Subject: [PATCH] [ADD] Travis configuration --- .travis.yml | 38 ++++++++++++++++++++++++++++++++++++++ README.md | 14 ++++++++++++-- 2 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..85521787 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,38 @@ +language: python + +python: + - "2.7" + +sudo: false +cache: pip + +addons: + apt: + packages: + - expect-dev # provides unbuffer utility + - python-lxml # because pip installation is slow + +env: + global: + - VERSION="8.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0" + - TRANSIFEX_USER='transbot@odoo-community.org' + - secure: "XLhGdCIh86zcqww9qBpnk8Xqsf1Pcgw9SKr7X0KYBHJofHj4Z6Kq/oVFjpZ1LSjadsaABKbwY7h4hvKEpxZwptCv+fNTOKYy7hXFLGYnDeNeWu4zA4LI7TA5uPvyZjZ+g2xc+9dzR/VbfRHNqjvmgiEidxxqLeOnNFZ5CHdOdCw=" + matrix: + - LINT_CHECK="1" + - TRANSIFEX="1" + - TESTS="1" ODOO_REPO="odoo/odoo" + - TESTS="1" ODOO_REPO="OCA/OCB" + +virtualenv: + system_site_packages: true + +install: + - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools + - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH} + - travis_install_nightly + +script: + - travis_run_tests + +after_success: + - travis_after_tests_success diff --git a/README.md b/README.md index 713bd624..2963cba9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,12 @@ -# social -Addons concerning odoo's social ERP features and messaging in general +[![Runbot Status](https://runbot.odoo-community.org/runbot/badge/flat/205/8.0.svg)](https://runbot.odoo-community.org/runbot/repo/github-com-oca-social-205) +[![Build Status](https://travis-ci.org/OCA/social.svg?branch=8.0)](https://travis-ci.org/OCA/social) +[![Coverage Status](https://coveralls.io/repos/OCA/social/badge.svg?branch=8.0)](https://coveralls.io/r/OCA/social?branch=8.0) + +Social addons for Odoo +====================== + +Addons concerning Odoo's social ERP features and messaging in general + +Translation state +----------------- +[![Transifex Status](https://www.transifex.com/projects/p/OCA-social-8-0/chart/image_png)](https://www.transifex.com/projects/p/OCA-social-8-0)