Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Repository: plone.app.robotframework
Branch: refs/heads/master Date: 2014-12-13T09:44:55+02:00 Author: Asko Soukka (datakurre) <asko.soukka@iki.fi> Commit: plone/plone.app.robotframework@deffee8 Configure Travis-CI to cache buildout eggs Files changed: M .travis.yml D travis.cfg diff --git a/.travis.yml b/.travis.yml index 357cce1..a1609fa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,16 @@ language: python -python: "2.7" +python: 2.7 +sudo: false addons: sauce_connect: username: $SAUCE_USERNAME access_key: $SAUCE_ACCESS_KEY +cache: + directory: + - eggs install: -- virtualenv buildout --no-setuptools -- mkdir -p buildout-cache/downloads -- buildout/bin/python bootstrap.py -c travis.cfg -- bin/buildout -N -t 3 -c travis.cfg ${VERSIONS} +- python bootstrap.py +- bin/buildout -N -t 3 ${VERSIONS} before_script: - gem install --version 0.8.9 faraday - gem install travis-artifacts diff --git a/travis.cfg b/travis.cfg deleted file mode 100644 index e3738a4..0000000 --- a/travis.cfg +++ /dev/null @@ -1,24 +0,0 @@ -[buildout] -extends = - https://raw.github.com/collective/buildout.plonetest/master/travis-4.x.cfg - buildout.cfg -parts = - download - install - robot - test - docs - -package-name = plone.app.robotframework -package-extras = [test,speak] - -test-eggs = Pillow - -[versions] -Plone = 4.3 - -[robot] -recipe = zc.recipe.egg -eggs = - Pillow - plone.app.robotframework [test,ride,speak,reload] Repository: plone.app.robotframework Branch: refs/heads/master Date: 2014-12-13T09:56:05+02:00 Author: Asko Soukka (datakurre) <asko.soukka@iki.fi> Commit: plone/plone.app.robotframework@f10bbed Restore travis.cfg to optimize Travis-build Files changed: A travis.cfg M .travis.yml diff --git a/.travis.yml b/.travis.yml index a1609fa..b371ae8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,11 +6,11 @@ addons: username: $SAUCE_USERNAME access_key: $SAUCE_ACCESS_KEY cache: - directory: + directories: - eggs install: -- python bootstrap.py -- bin/buildout -N -t 3 ${VERSIONS} +- python bootstrap.py -c travis.cfg +- bin/buildout -N -t 3 -c travis.cfg ${VERSIONS} before_script: - gem install --version 0.8.9 faraday - gem install travis-artifacts diff --git a/travis.cfg b/travis.cfg new file mode 100644 index 0000000..21a30c8 --- /dev/null +++ b/travis.cfg @@ -0,0 +1,3 @@ +[buildout] +extends = buildout.cfg +parts = docs test Repository: plone.app.robotframework Branch: refs/heads/master Date: 2014-12-13T16:30:59+02:00 Author: Asko Soukka (datakurre) <asko.soukka@iki.fi> Commit: plone/plone.app.robotframework@e74dd09 Merge pull request #34 from plone/datakurre-travis-cache Configure Travis-CI to cache buildout eggs between builds Files changed: M .travis.yml M travis.cfg diff --git a/.travis.yml b/.travis.yml index 357cce1..b371ae8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,15 @@ language: python -python: "2.7" +python: 2.7 +sudo: false addons: sauce_connect: username: $SAUCE_USERNAME access_key: $SAUCE_ACCESS_KEY +cache: + directories: + - eggs install: -- virtualenv buildout --no-setuptools -- mkdir -p buildout-cache/downloads -- buildout/bin/python bootstrap.py -c travis.cfg +- python bootstrap.py -c travis.cfg - bin/buildout -N -t 3 -c travis.cfg ${VERSIONS} before_script: - gem install --version 0.8.9 faraday diff --git a/travis.cfg b/travis.cfg index e3738a4..21a30c8 100644 --- a/travis.cfg +++ b/travis.cfg @@ -1,24 +1,3 @@ [buildout] -extends = - https://raw.github.com/collective/buildout.plonetest/master/travis-4.x.cfg - buildout.cfg -parts = - download - install - robot - test - docs - -package-name = plone.app.robotframework -package-extras = [test,speak] - -test-eggs = Pillow - -[versions] -Plone = 4.3 - -[robot] -recipe = zc.recipe.egg -eggs = - Pillow - plone.app.robotframework [test,ride,speak,reload] +extends = buildout.cfg +parts = docs test
- Loading branch information