]> git.ipfire.org Git - thirdparty/starlette.git/commitdiff
Requires 3.6+ (To support async generators)
authorTom Christie <tom@tomchristie.com>
Mon, 25 Jun 2018 13:50:22 +0000 (14:50 +0100)
committerTom Christie <tom@tomchristie.com>
Mon, 25 Jun 2018 13:50:22 +0000 (14:50 +0100)
.travis.yml
README.md
requirements.txt

index 2f1bb4fd4f49381dee07dcdee17f5380a6df49e4..89fe0d564c70363012d88b4f47f89263f07c75ad 100644 (file)
@@ -3,17 +3,15 @@ language: python
 cache: pip
 
 python:
-    - "3.5"
     - "3.6"
+    - "3.7-dev"
 
 install:
     - pip install -r requirements.txt
-    - pip install codecov
-    - if [[ $TRAVIS_PYTHON_VERSION != '3.5' ]]; then pip install black; fi
 
 script:
     - scripts/test
-    - if [[ $TRAVIS_PYTHON_VERSION != '3.5' ]]; then scripts/lint; fi
+    - scripts/lint
 
 after_script:
     - codecov
index 693bf7212ad94bca17905da2f9fc3ab7de0b45cf..f2c80c5f1615804c4b9aa33f4f1a7eb24b0e403b 100644 (file)
--- a/README.md
+++ b/README.md
@@ -8,6 +8,9 @@
 <a href="https://travis-ci.org/encode/starlette">
     <img src="https://travis-ci.org/encode/starlette.svg?branch=master" alt="Build Status">
 </a>
+<a href="https://codecov.io/gh/encode/starlette">
+    <img src="https://codecov.io/gh/encode/starlette/branch/master/graph/badge.svg" alt="Coverage">
+</a>
 <a href="https://pypi.org/project/starlette/">
     <img src="https://badge.fury.io/py/starlette.svg" alt="Package version">
 </a>
index 943cab0d8cacbf1b97c54991d32273060f50d728..96b8130dea7b41e4223ff6660084825c1614f64f 100644 (file)
@@ -1,5 +1,7 @@
 requests
 
 # Testing
+black
+codecov
 pytest
 pytest-cov