Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ matrix:
#
# See: https://github.com/travis-ci/travis-ci/issues/3239
#
before_script:
- pip install tox codecov
before_install:
- cat tox-requirements.txt >> requirements.txt

script:
- tox
Expand Down
1 change: 1 addition & 0 deletions ramlfications/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def _load_media_types():
with open(media_types_file, "r") as f:
return json.load(f)


HTTP_METHODS = [
"get", "post", "put", "delete", "patch", "head",
"options", "trace", "connect"
Expand Down
4 changes: 3 additions & 1 deletion tox-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
coverage==4.0.1
tox
pytest==2.8.2
pytest-cov==2.2.0
mock==1.0.1
pytest-mock==0.4.3
pytest-localserver==0.3.4
coverage==4.0.1
codecov
12 changes: 9 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ envlist = py26, py27, py33, py34, py35, pypy, flake8, manifest, docs
setenv =
LC_ALL=en_US.utf-8
LANG=en_US.utf-8
deps = -rtox-requirements.txt
deps =
-rrequirements.txt
-rtox-requirements.txt
commands =
python setup.py test -a "-v --cov ramlfications --cov-report xml"

Expand All @@ -14,7 +16,9 @@ basepython = python2.6
setenv =
LC_ALL=en_US.utf-8
LANG=en_US.utf-8
deps = -rtox-requirements.txt
deps =
-rrequirements.txt
-rtox-requirements.txt
argparse
commands =
python setup.py test -a "-v --cov ramlfications --cov-report xml"
Expand All @@ -25,7 +29,9 @@ basepython = pypy
setenv =
LC_ALL=en_US.utf-8
LANG=en_US.utf-8
deps = -rtox-requirements.txt
deps =
-rrequirements.txt
-rtox-requirements.txt
commands =
python setup.py test

Expand Down