Skip to content

Commit

Permalink
Add development and CI configuration
Browse files Browse the repository at this point in the history
For now, do just code analysis.
  • Loading branch information
hvelarde committed Jul 29, 2015
1 parent 2fed839 commit 038bd70
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .travis.yml
@@ -0,0 +1,29 @@
language: python
python: 2.7
sudo: false
cache:
directories:
- eggs
env:
- PLONE_VERSION=4.3
matrix:
fast_finish: true
install:
- sed -ie "s#test-4.3#test-$PLONE_VERSION#" buildout.cfg
- python bootstrap.py
- bin/buildout annotate
- bin/buildout -Nq
before_script:
- export DISPLAY=:99.0
- export GROK_DISABLE_TEMPLATE_WARNING=on
- sh -e /etc/init.d/xvfb start
- firefox -v
script:
- bin/code-analysis
- bin/test
after_success:
- bin/createcoverage
- pip install -q coveralls
- coveralls
notifications:
irc: irc.freenode.org#plone-testing
25 changes: 25 additions & 0 deletions buildout.cfg
@@ -0,0 +1,25 @@
[buildout]
extends =
https://raw.github.com/collective/buildout.plonetest/master/test-4.3.x.cfg
https://raw.github.com/collective/buildout.plonetest/master/qa.cfg

package-name = transmogrify.wordpress

parts = code-analysis

[code-analysis]
directory = ${buildout:directory}/transmogrify/wordpress
clean-lines = True
deprecated-aliases = True
flake8-extensions =
flake8-blind-except
flake8-coding
flake8-debugger
flake8-quotes
flake8-ignore = E501
multiprocessing = True
return-status-codes = False

[versions]
# use latest version of setuptools
setuptools =

0 comments on commit 038bd70

Please sign in to comment.