-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from plonegovbr/integracao_continua_1.0.x
Implementa plonegovbr/portalpadrao.release#11
- Loading branch information
Showing
30 changed files
with
496 additions
and
475 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 |
---|---|---|
@@ -1,22 +1,43 @@ | ||
language: python | ||
python: 2.7 | ||
sudo: false | ||
cache: | ||
directories: | ||
- eggs | ||
- parts/node | ||
env: | ||
- PLONE_VERSION=4.2 | ||
- PLONE_VERSION=4.3 QA=true | ||
matrix: | ||
- PLONE_VERSION=4.2 | ||
# Nos demais pacotes plonegovbr, como não testo as versões além do Plone | ||
# 4.3 (ou seja, por padrão testo sõ a 4.3), não uso a variável | ||
# PLONE_VERSION, apenas a MASTER e a PENDING_RELEASE. | ||
- PLONE_VERSION=4.3 MASTER=true | ||
- PLONE_VERSION=4.3 PENDING_RELEASE=true | ||
matrix: | ||
allow_failures: | ||
- env: PLONE_VERSION=4.2 | ||
- env: PLONE_VERSION=4.3 MASTER=true | ||
fast_finish: true | ||
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 -t 3 | ||
# Remova a linha que aponta para o versions do novo release, por padrão 4.3, | ||
# se o job for o 4.2 ou o que tem que pegar do master. | ||
- test "$MASTER" -o "$PLONE_VERSION" = 4.2 && sed -ie '/https:\/\/raw\.githubusercontent\.com\/plonegovbr\/portal\.buildout\/master\/buildout\.d\/versions\.cfg/d' buildout.cfg || true | ||
- sed -ie "s#test-4.3#test-$PLONE_VERSION#" buildout.cfg | ||
- python bootstrap.py | ||
- bin/buildout annotate | ||
- bin/buildout | ||
before_script: | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
- firefox -v | ||
script: | ||
- bin/code-analysis | ||
- bin/test | ||
- test -v QA && bin/code-analysis || true | ||
after_success: test -v QA && bin/coverage.sh && pip install -q coveralls && coveralls || true | ||
after_failure: | ||
- bin/buildout annotate -c travis.cfg | ||
- firefox -v | ||
after_success: | ||
# vcge, no momento, não possui testes do tipo "Robots", ao contrário dos | ||
# demais pacotes em plonegovbr. | ||
- bin/createcoverage -t "--layer=!Robot" | ||
- pip install coveralls | ||
- coveralls | ||
notifications: | ||
irc: irc.freenode.org#plonegovbr |
Oops, something went wrong.