File tree Expand file tree Collapse file tree 2 files changed +8
-14
lines changed
Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -7,23 +7,17 @@ python:
77 - ' 3.4'
88 - ' 3.5'
99 - ' 3.6'
10+ - ' 3.7'
11+ - ' 3.8'
1012 - pypy
11-
12- # from https://github.com/travis-ci/travis-ci/issues/9815
13- # https://github.com/travis-ci/travis-ci/issues/9069#issuecomment-425720905
14- # Enable 3.7 without globally enabling sudo and dist: xenial for other build jobs
15- matrix :
16- include :
17- - python : 3.7
18- dist : xenial
19- sudo : true
2013
2114env :
22- - FLASK=0.10.1
23- - FLASK=0.10
24-
15+ - FLASK=0.10.1 WERKZEUG_DEP="werkzeug==0.16.1"
16+ - FLASK=0.10 WERKZEUG_DEP="werkzeug==0.16.1"
17+ - FLASK=1.0 WERKZEUG_DEP=""
18+ - FLASK=1.1 WERKZEUG_DEP=""
2519install :
26- - pip install -U setuptools pep8 six coverage docutils pygments flask==$FLASK
20+ - pip install -U setuptools pep8 six coverage docutils pygments flask==$FLASK $WERKZEUG_DEP
2721
2822script :
2923 - coverage erase
Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ class AppExtensionString(FlaskCorsTestCase):
204204 def setUp (self ):
205205 self .app = Flask (__name__ )
206206 CORS (self .app , resources = r'/api/*' ,
207- headers = 'Content-Type' ,
207+ allow_headers = 'Content-Type' ,
208208 expose_headers = 'X-Total-Count' ,
209209 origins = 'http://bar.com' )
210210
You can’t perform that action at this time.
0 commit comments