Skip to content

Commit

Permalink
Update travis configuration
Browse files Browse the repository at this point in the history
use sudo: false to enable container build
use cache: pip to cache pip packages
  • Loading branch information
gurneyalex committed Jul 24, 2015
1 parent be40c65 commit 2d19e15
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
sudo: false
cache: pip

addons:
apt:
packages:
- expect-dev # provides unbuffer utility
- python-lxml # because pip installation is slow
- libcups2-dev
- cups

language: python
python:
Expand All @@ -11,23 +16,18 @@ python:
virtualenv:
system_site_packages: true

before_install:
- sudo apt-get update
- sudo apt-get install libcups2-dev cups

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 6.1
- travis_install_nightly
- pip install coveralls flake8
- pip install pycups==1.9.66
- pip install PyPDF2==1.18
- 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:
- travis_run_flake8
- travis_run_tests 6.1 $HOME/reporting-engine
- travis_run_tests

after_success:
coveralls

0 comments on commit 2d19e15

Please sign in to comment.