Skip to content
This repository has been archived by the owner on May 31, 2019. It is now read-only.

Commit

Permalink
Merge 5cc0976 into 37b08cb
Browse files Browse the repository at this point in the history
  • Loading branch information
c-bata committed Feb 25, 2016
2 parents 37b08cb + 5cc0976 commit 8e745c5
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
service_name: travis-pro
repo_token: ZM7iVE7b2JMQEeyYOxuzGFzOrOKMcokqM
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@ language: python
python: 3.5
env:
- TOXENV=py35
- TOXENV=coveralls
- TOXENV=flake8
- TOXENV=mypy
- TOXENV=check_old_packages
matrix:
allow_failures:
- env: TOXENV=check_old_packages
install:
- travis_retry pip install -q tox
- pip install -q tox
script:
- travis_retry tox
- tox
notifications:
slack:
secure: LOU57CZvAlZ8Pj8JhOk2GWt8TI8hvq8IdRhxbRoPb6B+/ysF8Kdp1wBINlBSmwHW9GxgtpxAj46Ni36O30Hwa/FO/CeFDcmRTRtPadAE45PUEuE8TeN+94LScTufIvfLfFtsqcr1WJoFLyy5PrpYJqhbCgZccGGqwNg2vCBTp5Jif+9fkDf0sHrTsPmbi0tO0pJJKCYif7nnSBxOcQod+BCIwavHxesc2Pkzl/v4T48a53fKK3dkF0t42bMINwUmDGsa5GtK3EHuDKO9sc03m1rpPmH4Y/3fOBa/UJi5/Obu9YQy8UaYhH+t9MAPCgb1vASs3h69heEwJ147jRo0CWRZZGMXQ4PEFAVn7OP4Xcwmb1fjUR5cUp9jewF+s5zPQgc8BH7RhEIvcr2MHM4pLlcGuVud2L87FJmAxrTXNoCT6mpBlzuRhmLd8n+1CieLIms7jW+N502fi4RQ6xwCK4w0ric8Zny+a5b42AVxGogQGByHCT71L+TL/Vxq1wLNuj25KAWFXJdehwbTlN6qL2sv/nkrGYN6FAK14gp08cEdSBG96tRj9ZbY9lO/3k4ZZIxkfcCTsEXN5XI7Z1dPSa1NAdpXtB8jvzRH6JT5o3NAMlZGBWJU/F8ARaYiPq/lHx380AOeAyrmf9iH1D2tw9D2tDU09p8LFKHhXa0eNqo=
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ Kobin
.. image:: https://badge.fury.io/py/kobin.svg
:target: https://badge.fury.io/py/kobin

.. image:: https://coveralls.io/repos/github/c-bata/kobin/badge.svg?branch=coveralls
:target: https://coveralls.io/github/c-bata/kobin?branch=master

**This library is a pre-release. Expect missing docs and breaking API changes.**

Kobin is small and statically-typed web framework for python3.5.
Expand Down
16 changes: 12 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py35, flake8, mypy, check_old_packages
envlist = py35, coveralls, flake8, mypy, check_old_packages

[testenv]
basepython = python3.5
Expand All @@ -9,16 +9,24 @@ deps =
gunicorn
commands = python setup.py test

[testenv:coveralls]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
coveralls
pytest
jinja2
gunicorn
commands =
coverage run --source=kobin --omit=kobin/server_adapters.py setup.py test
coveralls

[testenv:flake8]
basepython = python3.5
deps = flake8
commands = flake8

[testenv:mypy]
basepython = python3.5
deps = mypy-lang
commands = mypy kobin

[testenv:check_old_packages]
basepython = python3.5
commands = pip list -o

0 comments on commit 8e745c5

Please sign in to comment.