Skip to content

Commit

Permalink
Use cache on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
gbastien committed Jun 15, 2017
1 parent b0b1c20 commit d83b45b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ language: python
python:
- 2.7

cache:
directories:
- eggs
- downloads

env:
- PLONE_VERSION=4
- PLONE_VERSION=5.0
- PLONE_VERSION=5.1
# - PLONE_VERSION=5.1

install:
- sudo apt-get -qq install libfreetype6-dev liblcms1-dev libreoffice
Expand All @@ -15,7 +20,7 @@ install:
- sed -ie "s#travis-5#travis-$PLONE_VERSION#" travis.cfg
- python bootstrap.py -c travis.cfg
- virtualenv-2.7 .
- bin/buildout -Nc travis.cfg
- bin/buildout -N buildout:download-cache=downloads code-analysis:return-status-codes=True -c travis.cfg
- bin/translation-manage -c

before_script:
Expand Down

0 comments on commit d83b45b

Please sign in to comment.