Skip to content

Commit

Permalink
start porting to py3
Browse files Browse the repository at this point in the history
  • Loading branch information
loechel committed Apr 23, 2018
1 parent bb25ef4 commit 5f0b64f
Show file tree
Hide file tree
Showing 22 changed files with 341 additions and 2,525 deletions.
36 changes: 36 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# EditorConfig Configurtaion file, for more details see:
# http://EditorConfig.org
# EditorConfig is a convention description, that could be interpreted
# by multiple editors to enforce common coding conventions for specific
# file types

# top-most EditorConfig file:
# Will ignore other EditorConfig files in Home directory or upper tree level.
root = true


[*] # For All Files
# Unix-style newlines with a newline ending every file
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Set default charset
charset = utf-8
# Indent style default
indent_style = space
# Max Line Length - a hard line wrap, should be disabled
max_line_length = off

[*.{py,cfg,ini}]
# 4 space indentation
indent_size = 4

[*.{yml}]
# 2 space indentation
indent_size = 2

[{Makefile,.gitmodules}]
# Tab indentation (no size specified, but view as 4 spaces)
indent_style = tab
indent_size = unset
tab_width = unset
38 changes: 38 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
language: python
sudo: false

matrix:
include:
- python: "2.7"
env: TOXENV=lint-py27
- python: "3.6"
env: TOXENV=lint-py36
- python: "2.7"
env: TOXENV=py27
- python: "3.4"
env: TOXENV=py34
- python: "3.5"
env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
- python: "3.7-dev"
env: TOXENV=py37
allow_failures:
- python: "3.7-dev"
env: TOXENV=py37

install:
- travis_retry pip install -U pip setuptools
- travis_retry pip install -U tox coveralls coverage

script:
- travis_retry tox

after_success:
- coverage combine
- coveralls

notifications:
email: false
cache:
pip: true
27 changes: 23 additions & 4 deletions buildout.cfg
Original file line number Diff line number Diff line change
@@ -1,24 +1,43 @@
[buildout]
extends = https://raw.githubusercontent.com/collective/buildout.plonetest/master/test-5.x.cfg
parts = coverage test test-chrome test-ie report report-xml

parts =
coverage
test
test-chrome
test-ie
report
report-xml

extensions = mr.developer

sources = sources
versions = versions

auto-checkout =
plone.testing
Products.GenericSetup

sources-dir = src-mrd

develop =
src-mrd/plone.testing
src-mrd/Products.GenericSetup

[remotes]
plone = git://github.com/plone
plone_push = git@github.com:plone
zope = svn://svn.zope.org/repos/main/
#zope = svn://svn.zope.org/repos/main/
zope = git://github.com/zopefoundation
zope_push = git@github.com:zopefoundation

[versions]
plone.app.testing =
Products.GenericSetup =

[sources]
plone.testing = git ${remotes:plone}/plone.testing.git pushurl=${remotes:plone_push}/plone.testing.git branch=master
Products.GenericSetup = svn ${remotes:zope}/Products.GenericSetup/trunk
plone.testing = git ${remotes:plone}/plone.testing.git pushurl=${remotes:plone_push}/plone.testing.git branch=py3
Products.GenericSetup = git ${remotes:zope}/Products.GenericSetup.git pushurl=${remotes:plone_push}/Products.GenericSetup branch=master

[test]
recipe = collective.xmltestreport
Expand Down
2 changes: 0 additions & 2 deletions plone/__init__.py

This file was deleted.

2 changes: 0 additions & 2 deletions plone/app/__init__.py

This file was deleted.

34 changes: 0 additions & 34 deletions plone/app/testing/__init__.py

This file was deleted.

124 changes: 0 additions & 124 deletions plone/app/testing/bbb.py

This file was deleted.

40 changes: 0 additions & 40 deletions plone/app/testing/cleanup.py

This file was deleted.

32 changes: 0 additions & 32 deletions plone/app/testing/cleanup.rst

This file was deleted.

Loading

0 comments on commit 5f0b64f

Please sign in to comment.