knowledge/.travis.yml
Alexandre Fayolle bda9dd75df Update travis configuration
use sudo: false to enable container build
use cache: pip to cache pip packages
2015-07-24 22:59:33 +02:00

34 lines
666 B
YAML

sudo: false
cache: pip
addons:
apt:
packages:
- expect-dev # provides unbuffer utility
- python-lxml # because pip installation is slow
language: python
python:
- "2.7"
env:
- VERSION="6.1"
virtualenv:
system_site_packages: true
install:
- pip install python-magic
- 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 ${VERSION}
- $HOME/maintainer-quality-tools/travis/travis_install_nightly ${VERSION}
script:
- travis_run_flake8
- travis_run_tests ${VERSION}
after_success:
coveralls