Mathias Markl
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
9 additions and
5 deletions
-
.travis.yml
|
@ -1,7 +1,7 @@ |
|
|
language: python |
|
|
language: python |
|
|
|
|
|
|
|
|
python: |
|
|
python: |
|
|
- "3.6" |
|
|
|
|
|
|
|
|
- "3.5" |
|
|
|
|
|
|
|
|
notifications: |
|
|
notifications: |
|
|
email: false |
|
|
email: false |
|
@ -10,11 +10,16 @@ sudo: false |
|
|
cache: pip |
|
|
cache: pip |
|
|
|
|
|
|
|
|
addons: |
|
|
addons: |
|
|
postgresql: "9.3" |
|
|
|
|
|
|
|
|
postgresql: "10.0" |
|
|
apt: |
|
|
apt: |
|
|
packages: |
|
|
packages: |
|
|
|
|
|
- ffmpeg |
|
|
|
|
|
- ghostscript |
|
|
|
|
|
- imagemagick |
|
|
- expect-dev |
|
|
- expect-dev |
|
|
- python-lxml |
|
|
- python-lxml |
|
|
|
|
|
- python-simplejson |
|
|
|
|
|
- python-serial |
|
|
|
|
|
|
|
|
env: |
|
|
env: |
|
|
global: |
|
|
global: |
|
@ -24,7 +29,6 @@ env: |
|
|
- TESTS="1" ODOO_REPO="odoo/odoo" |
|
|
- TESTS="1" ODOO_REPO="odoo/odoo" |
|
|
|
|
|
|
|
|
before_install: |
|
|
before_install: |
|
|
- sudo apt-get install -y unoconv |
|
|
|
|
|
- "export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH" |
|
|
- "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 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 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" |
|
@ -32,8 +36,8 @@ before_install: |
|
|
- "phantomjs --version" |
|
|
- "phantomjs --version" |
|
|
|
|
|
|
|
|
install: |
|
|
install: |
|
|
- pip install cachetools |
|
|
|
|
|
- pip install pdfconv |
|
|
|
|
|
|
|
|
- pip install moviepy |
|
|
|
|
|
- pip install Wand |
|
|
- git clone 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 |
|
|