This repository has been archived by the owner on Dec 19, 2018. It is now read-only.
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
9 changed files
with
40 additions
and
24 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
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 +1 @@ | ||
include docs/README.rst LICENSE requirements.txt | ||
include docs/README.rst LICENSE requirements/* |
File renamed without changes.
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,2 @@ | ||
pytest | ||
pytest-cov |
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,2 @@ | ||
coverage | ||
coveralls |
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,3 @@ | ||
pytest | ||
pytest-pep8 | ||
pep8 |
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 was deleted.
Oops, something went wrong.
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,20 +1,28 @@ | ||
[tox] | ||
envlist = py26, py27, py33, py34, pypy, pypy3 | ||
[pytest] | ||
pep8ignore = E402 | ||
addopts = -vv | ||
[pep8] | ||
ignore = E402 | ||
[testenv] | ||
deps = -rrequirements.txt | ||
-rtest-requirements.txt | ||
[testenv:install] | ||
commands = pip install . | ||
pontoon --version | ||
[testenv:tests] | ||
whitelist_externals = bats | ||
deps = -rrequirements/base.txt | ||
-rrequirements/tests.txt | ||
commands = bats --tap test/bats | ||
py.test --pep8 pontoon | ||
py.test --cov=pontoon | ||
pep8 scripts/ | ||
[testenv:coverage] | ||
deps = -rrequirements/base.txt | ||
-rrequirements/coverage.txt | ||
commands = py.test --cov=pontoon | ||
[testenv:coveralls] | ||
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH | ||
deps = -rrequirements/base.txt | ||
-rrequirements/coveralls.txt | ||
commands = coverage report -m | ||
coveralls | ||
|
||
[pytest] | ||
pep8ignore = E402 | ||
addopts = --ignore=venv | ||
-vv |