Add travis configuration.
This commit is contained in:
parent
07076e157b
commit
fd4203b940
19
.travis.yml
Normal file
19
.travis.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
language: python
|
||||||
|
python: "2.7"
|
||||||
|
sudo: false
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- eggs
|
||||||
|
before_install:
|
||||||
|
- pip install http://effbot.org/downloads/Imaging-1.1.7.tar.gz
|
||||||
|
install:
|
||||||
|
- mkdir -p buildout-cache/eggs
|
||||||
|
- mkdir -p buildout-cache/downloads
|
||||||
|
- python bootstrap-buildout.py --setuptools-version=8.3 -c travis.cfg
|
||||||
|
- bin/buildout -N -t 3 -c travis.cfg
|
||||||
|
script:
|
||||||
|
- bin/code-analysis
|
||||||
|
- bin/test-coverage
|
||||||
|
after_success:
|
||||||
|
- pip install -q coveralls
|
||||||
|
- coveralls
|
21
travis.cfg
Normal file
21
travis.cfg
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
[buildout]
|
||||||
|
extends = buildout.cfg
|
||||||
|
parts +=
|
||||||
|
download
|
||||||
|
install
|
||||||
|
code-analysis
|
||||||
|
eggs-directory = buildout-cache/eggs
|
||||||
|
download-cache = buildout-cache/downloads
|
||||||
|
|
||||||
|
[download]
|
||||||
|
recipe = hexagonit.recipe.download
|
||||||
|
url = https://launchpad.net/plone/4.3/4.3.4/+download/Plone-4.3.4-UnifiedInstaller.tgz
|
||||||
|
|
||||||
|
[install]
|
||||||
|
recipe = collective.recipe.cmd
|
||||||
|
on_install = true
|
||||||
|
cmds = tar jxvf ${download:location}/Plone-4.3.4-UnifiedInstaller/packages/buildout-cache.tar.bz2 1>/dev/null
|
||||||
|
|
||||||
|
[code-analysis]
|
||||||
|
recipe = plone.recipe.codeanalysis
|
||||||
|
return-status-codes = True
|
Loading…
Reference in New Issue
Block a user