Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integração continua #32

Merged
merged 12 commits into from
Oct 7, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
[report]
include =
src/brasil/gov/vcge/*
omit =
/home/*/.buildout/eggs/*
/usr/*
bin/test
buildout-cache/eggs/*
eggs/*
parts/*
*/test*
*/upgrades/*
25 changes: 15 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
language: python
python: 2.7
sudo: false
cache:
directories:
- eggs
env:
- PLONE_VERSION=4.2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alguem usa isso no Plone 4.2?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hvelarde mantive porque já estava ai. Mas também acho que ninguém usa isso no 4.2. Sou a favor de remover.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

se não complicar podem deixar.

- PLONE_VERSION=4.3 QA=true
- 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 -t 3
- 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:
- bin/createcoverage -t "--layer=!Robot"
- pip install coveralls
- coveralls
notifications:
irc: irc.freenode.org#plonegovbr
Loading