Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update development and CI configurations
- Update bootstrap.py - Use plone.recipe.codeanalysis
- Loading branch information
Showing
9 changed files
with
193 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[report] | ||
omit = | ||
/home/*/.buildout/eggs/* | ||
/usr/* | ||
bin/test | ||
buildout-cache/eggs/* | ||
eggs/* | ||
parts/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,38 @@ | ||
language: python | ||
python: 2.7 | ||
sudo: false | ||
cache: | ||
directories: | ||
- eggs | ||
- parts/node | ||
env: | ||
- TARGET=test | ||
- TARGET=coverage.sh | ||
|
||
# - TARGET=css-validation.sh | ||
# - TARGET=js-validation.sh | ||
|
||
# csslint and jshint dependencies, uncomment if needed | ||
# before_install: | ||
# - sudo apt-get install ack-grep | ||
# - sudo apt-add-repository ppa:chris-lea/node.js -y | ||
# - sudo apt-get update 1>/dev/null | ||
# - sudo apt-get install nodejs npm -y | ||
# | ||
# csslint | ||
# - npm install csslint -g | ||
# | ||
# jshint | ||
# - npm install jshint -g | ||
# | ||
# robotframework or selenium | ||
# - export DISPLAY=:99.0 | ||
# - sh -e /etc/init.d/xvfb start | ||
|
||
- PLONE_VERSION=4.2 | ||
- PLONE_VERSION=4.3 | ||
- PLONE_VERSION=5.0 | ||
matrix: | ||
include: | ||
- python: 2.6 | ||
env: PLONE_VERSION=4.0 | ||
- python: 2.6 | ||
env: PLONE_VERSION=4.1 | ||
allow_failures: | ||
- env: PLONE_VERSION=5.0 | ||
fast_finish: true | ||
install: | ||
- mkdir -p buildout-cache/eggs | ||
- mkdir -p buildout-cache/downloads | ||
- python bootstrap.py -c travis.cfg | ||
- bin/buildout -N -t 3 -c travis.cfg install download install | ||
- bin/buildout -N -t 3 -c travis.cfg | ||
|
||
script: bin/$TARGET | ||
- sed -ie "s#test-4.3#test-$PLONE_VERSION#" buildout.cfg | ||
- python bootstrap.py | ||
- bin/buildout annotate | ||
- bin/buildout -Nq | ||
before_script: | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
- firefox -v | ||
script: | ||
- bin/code-analysis | ||
- bin/test | ||
after_success: | ||
- bin/createcoverage -t "--layer=!Robot" | ||
- pip install -q coveralls | ||
- coveralls | ||
notifications: | ||
irc: irc.freenode.org#plone-testing |
Oops, something went wrong.