Skip to content

Commit

Permalink
Fix CI configuration
Browse files Browse the repository at this point in the history
- An issue on travis.cfg that was causing CI run under Plone 4.3 only
- Fix annotate option that must be located after the configuration file name
  • Loading branch information
hvelarde committed Jan 3, 2014
1 parent 56ebc6a commit 4d881eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Expand Up @@ -11,17 +11,17 @@ install:
- sed -ie "s#travis-4.x.cfg#travis-$PLONE_VERSION.x.cfg#" travis.cfg
- mkdir -p buildout-cache/downloads
- python bootstrap.py -c travis.cfg
- bin/buildout annotate -c travis.cfg
# workaround for failing installation under Plone 4.1 caused by plone.recipe.codeanalysis
- test -v QA && bin/buildout -c travis.cfg -N -q || bin/buildout -c travis.cfg -N -q buildout:parts-=code-analysis
- bin/buildout -c travis.cfg annotate
# workaround for failing installation under Python 2.6 caused by plone.recipe.codeanalysis
- test $QA && bin/buildout -c travis.cfg -N -q || bin/buildout -c travis.cfg -N -q buildout:parts-=code-analysis
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- firefox -v
script:
- test -v QA && bin/code-analysis || true
- test $QA && bin/code-analysis || true
- bin/test
after_success: test -v QA && bin/coverage.sh && pip install -q coveralls && coveralls || true
after_success: test $QA && bin/coverage.sh && pip install -q coveralls && coveralls || true
after_failure: firefox -v
notifications:
irc: irc.freenode.org#simplesconsultoria
2 changes: 1 addition & 1 deletion travis.cfg
@@ -1,6 +1,6 @@
[buildout]
extends =
https://raw.github.com/collective/buildout.plonetest/master/travis-4.3.x.cfg
https://raw.github.com/collective/buildout.plonetest/master/travis-4.x.cfg
https://raw.github.com/collective/buildout.plonetest/master/qa.cfg
versions.cfg

Expand Down

0 comments on commit 4d881eb

Please sign in to comment.