Skip to content

Commit

Permalink
Merge 3f6cd5a into 594e42e
Browse files Browse the repository at this point in the history
  • Loading branch information
idgserpro committed Dec 19, 2019
2 parents 594e42e + 3f6cd5a commit 03733a0
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 230 deletions.
2 changes: 2 additions & 0 deletions .codacy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
exclude_paths:
- setup.py
9 changes: 2 additions & 7 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
[report]
omit =
/home/*/.buildout/eggs/*
/usr/*
bin/test
buildout-cache/eggs/*
eggs/*
parts/*
include =
src/brasil/*
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ develop-eggs/
downloads/
eggs/
fake-eggs/
include/
lib/
share/
parts/
dist/
var/
Expand All @@ -34,3 +37,4 @@ htmlcov/
# OSX
.DS_Store
/.settings/*
/.settings/
26 changes: 14 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
services:
- xvfb
language: python
python: 2.7
sudo: false
Expand All @@ -15,23 +17,23 @@ env:
- PLONE_CSRF_DISABLED=true
matrix:
fast_finish: true
before_install:
# FIXME: I have no idea how and why six==1.11.0 is being installed
- pip uninstall -y six
install:
- python bootstrap.py
- bin/buildout annotate
- bin/buildout
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- virtualenv .
- ./bin/pip install -r requirements.txt
- bin/buildout annotate
- bin/buildout
script:
- bin/code-analysis
- bin/test
- bin/pylint --py3k --disable=no-absolute-import src/brasil/gov/agenda || true
after_success:
- bin/createcoverage --output-dir=htmlcov -t "--layer=!Acceptance"
- pip install coveralls
- coveralls
- pip install coveralls
- coverage run bin/test --layer=\!Robot
# Coveralls
- coveralls
# Codacy
- coverage xml
- pip install codacy-coverage
- python-codacy-coverage -r coverage.xml
notifications:
irc: irc.freenode.org#plonegovbr
210 changes: 0 additions & 210 deletions bootstrap.py

This file was deleted.

1 change: 0 additions & 1 deletion buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ eggs +=

parts +=
code-analysis
createcoverage
node
omelette
precompile
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
setuptools==41.6.0
zc.buildout==2.13.2

0 comments on commit 03733a0

Please sign in to comment.