-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
85 additions
and
34 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# top-most EditorConfig file | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space | ||
trim_trailing_whitespace = true | ||
|
||
[*.py] | ||
max_line_length = 119 | ||
indent_size = 4 |
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 |
---|---|---|
|
@@ -6,3 +6,6 @@ | |
*htmlcov | ||
.DS_Store | ||
.localized | ||
*.idea | ||
.tox | ||
.pytest_cache |
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,17 +1,19 @@ | ||
language: python | ||
python: | ||
- "2.7" | ||
- "2.6" | ||
- "2.7" | ||
- "3.6" | ||
|
||
install: | ||
- python setup.py install | ||
- pip install coveralls | ||
- pip install tox-travis | ||
- pip install tox==2.6.0 | ||
|
||
before_script: | ||
- export PYTHONPATH=$PYTHONPATH:$PWD | ||
|
||
script: | ||
- coverage run --source License2Deploy setup.py test | ||
- tox | ||
|
||
after_success: | ||
coveralls | ||
- if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ]; then coveralls; fi |
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
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[coverage:run] | ||
branch = true | ||
source = License2Deploy | ||
|
||
[coverage:report] | ||
omit = | ||
tests | ||
.tox | ||
|
||
[tool:pytest] | ||
addopts = --verbose | ||
testpaths = | ||
tests |
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
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 +0,0 @@ | ||
# | ||
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
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
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[tox] | ||
minversion=2.6.0 | ||
envlist = py26,py27,py36 | ||
skip_missing_interpreters = True | ||
|
||
[testenv] | ||
usedevelop = true | ||
extras = | ||
test | ||
whitelist_externals = | ||
find | ||
commands= | ||
find . -type f -name "*.pyc" -delete | ||
find . -type d -name "__pycache__" -delete | ||
{envbindir}/coverage erase | ||
{envbindir}/coverage run \ | ||
{envbindir}/pytest --basetemp={envtmpdir} {posargs} | ||
{envbindir}/coverage html -d {toxinidir}/htmlcov/{envname} | ||
|
||
[testenv:appveyor] | ||
basepython = {env:PYTHON:}\python.exe | ||
commands= | ||
{envbindir}/coverage run \ | ||
-m pytest --basetemp={envtmpdir} {posargs} | ||
{envbindir}/coverage html -d {toxinidir}/htmlcov/{envname} |