Mathias 7 years ago
parent
commit
5938ab940b
  1. 17
      .travis.yml

17
.travis.yml

@ -2,7 +2,7 @@ language: python
python: python:
- "3.6" - "3.6"
notifications: notifications:
email: false email: false
@ -10,11 +10,12 @@ sudo: false
cache: pip cache: pip
addons: addons:
postgresql: "9.3"
apt: apt:
packages: packages:
- expect-dev - expect-dev
- python-lxml - python-lxml
env: env:
global: global:
- VERSION="11.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0" - VERSION="11.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
@ -22,11 +23,15 @@ env:
matrix: matrix:
- TESTS="1" ODOO_REPO="odoo/odoo" - TESTS="1" ODOO_REPO="odoo/odoo"
before_install:
- "export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH"
- "if [ $(phantomjs --version) != '2.1.1' ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
- "if [ $(phantomjs --version) != '2.1.1' ]; then wget https://assets.membergetmember.co/software/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2; fi"
- "if [ $(phantomjs --version) != '2.1.1' ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"
- "phantomjs --version"
install: install:
- pip install cachetools
- pip install pdfconv
- pip install anybox.testing.openerp
- git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
- git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH} - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
- travis_install_nightly - travis_install_nightly

Loading…
Cancel
Save