Skip to content

Commit

Permalink
Refactor CI configuration
Browse files Browse the repository at this point in the history
Pin collective.js.bootstrap to 2.3.1.1 to avoid failure in build.
  • Loading branch information
hvelarde committed Apr 1, 2015
1 parent 6dd6c73 commit 3311def
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 36 deletions.
20 changes: 12 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
language: python
python: 2.7
sudo: false
cache:
directories:
- eggs
env: PLONE_VERSION=4.3
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 -c travis.cfg -N -q
- sed -i "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
script: bin/test && bin/code-analysis
- firefox -v
script:
- bin/code-analysis
- bin/test
after_success:
- bin/coverage.sh
- pip install -q coveralls
- coveralls
after_failure:
- bin/buildout annotate -c travis.cfg
- firefox -v
notifications:
irc: irc.freenode.org#plonegovbr
3 changes: 3 additions & 0 deletions buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ package-extras = [test]
eggs += z3c.unconfigure

parts +=
coverage-sh
createcoverage
code-analysis
i18ndude
node
Expand All @@ -34,5 +36,6 @@ recipe = collective.recipe.omelette
eggs = ${test:eggs}

[versions]
collective.js.bootstrap = 2.3.1.1
plone.dexterity = 2.2.3
zope.configuration = 3.8.0
28 changes: 0 additions & 28 deletions travis.cfg

This file was deleted.

0 comments on commit 3311def

Please sign in to comment.