Skip to content
This repository was archived by the owner on Feb 25, 2022. It is now read-only.
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
3 changes: 3 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[run]
branch = True

[report]
exclude_lines =
# Have to re-enable the standard pragma
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.git
.mypy_cache
.pytest_cache
.tox
__pycache__
/*.egg-info
/htmlcov
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ cache: pip
python:
- "3.6"
- "3.7"
- "3.8"

install:
- pip install -U -r requirements.txt

script:
- scripts/lint
- scripts/test
- scripts/ci

after_script:
- codecov
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ isort
pytest
pytest-cov
starlette
tox
3 changes: 3 additions & 0 deletions scripts/tox
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh -e

tox -r -p all
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def get_long_description(long_description_file):
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: Implementation :: CPython",
],
Expand Down
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[tox]
envlist = py{36,37,38}

[testenv]
deps = -rrequirements.txt
whitelist_externals = sh
commands =
sh scripts/ci