mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
Update travis configuration
use sudo: false to enable container build use cache: pip to cache pip packages
This commit is contained in:
16
.travis.yml
16
.travis.yml
@@ -1,8 +1,13 @@
|
|||||||
|
sudo: false
|
||||||
|
cache: pip
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- expect-dev # provides unbuffer utility
|
- expect-dev # provides unbuffer utility
|
||||||
- python-lxml # because pip installation is slow
|
- python-lxml # because pip installation is slow
|
||||||
|
- libcups2-dev
|
||||||
|
- cups
|
||||||
|
|
||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
@@ -11,23 +16,18 @@ python:
|
|||||||
virtualenv:
|
virtualenv:
|
||||||
system_site_packages: true
|
system_site_packages: true
|
||||||
|
|
||||||
before_install:
|
|
||||||
- sudo apt-get update
|
|
||||||
- sudo apt-get install libcups2-dev cups
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- 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 6.1
|
- travis_install_nightly
|
||||||
- pip install coveralls flake8
|
- pip install coveralls flake8
|
||||||
- pip install pycups==1.9.66
|
- pip install pycups==1.9.66
|
||||||
- pip install PyPDF2==1.18
|
- pip install PyPDF2==1.18
|
||||||
- pip install requests
|
- pip install requests
|
||||||
- git clone https://github.com/OCA/reporting-engine -b 6.1 $HOME/reporting-engine
|
- git clone https://github.com/OCA/reporting-engine -b ${VERSION} $HOME/reporting-engine
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- travis_run_flake8
|
- travis_run_tests
|
||||||
- travis_run_tests 6.1 $HOME/reporting-engine
|
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
coveralls
|
coveralls
|
||||||
|
|||||||
Reference in New Issue
Block a user