Files
manufacture/.travis.yml
Alexandre Fayolle 122629cffd Update travis configuration
Follow OCA/maintainer-quality-tools#187 and use addons/apt/package directive to
install our build dependencies. This allows using container based Travis builds
(which should be faster).
2015-05-14 22:12:35 +02:00

31 lines
661 B
YAML

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