Skip to content

Commit

Permalink
fix travis caching
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Aug 3, 2016
1 parent 492a540 commit 2a723cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Expand Up @@ -7,6 +7,10 @@ Changelog
- Update ``bootstrap-buildout.py`` to latest version.
[hvelarde]

- Fix: Travis cache got no grip.
Simplified caching setup in travis and explicit pass directories to buildout.
[jensens]

- Fix imports to follow conventions.
[hvelarde]

Expand Down
8 changes: 1 addition & 7 deletions bobtemplates/plone_addon/.travis.yml.bob
Expand Up @@ -6,15 +6,9 @@ cache:
- $HOME/buildout-cache
python:
- 2.7
before_install:
- mkdir -p $HOME/buildout-cache/{eggs,downloads}
- mkdir $HOME/.buildout
- echo "[buildout]" > $HOME/.buildout/default.cfg
- echo "download-cache = $HOME/buildout-cache/downloads" >> $HOME/.buildout/default.cfg
- echo "eggs-directory = $HOME/buildout-cache/eggs" >> $HOME/.buildout/default.cfg
install:
- python bootstrap-buildout.py -c travis.cfg
- bin/buildout -Nc travis.cfg
- bin/buildout -Nc travis.cfg buildout:eggs-directory=$HOME/buildout-cache/eggs buildout:download-cache=$HOME/buildout-cache/downloads
script:
- bin/code-analysis
- bin/test
Expand Down

0 comments on commit 2a723cb

Please sign in to comment.