| 
									
										
										
										
											2013-05-19 00:27:49 +08:00
										 |  |  | [tox] | 
					
						
							| 
									
										
										
										
											2017-05-25 06:41:35 +08:00
										 |  |  | envlist = | 
					
						
							| 
									
										
										
										
											2017-05-29 01:26:07 +08:00
										 |  |  |     py{36,35,34,33,27,26,py} | 
					
						
							|  |  |  |     py{36,27,py}-simplejson | 
					
						
							| 
									
										
										
										
											2017-05-25 06:41:35 +08:00
										 |  |  |     py{36,33,27,26,py}-devel | 
					
						
							|  |  |  |     py{36,33,27,26,py}-lowest | 
					
						
							|  |  |  |     docs-html | 
					
						
							|  |  |  |     coverage-report | 
					
						
							| 
									
										
										
										
											2016-06-04 00:29:12 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-05-19 00:27:49 +08:00
										 |  |  | [testenv] | 
					
						
							| 
									
										
										
										
											2016-11-03 00:56:59 +08:00
										 |  |  | passenv = LANG | 
					
						
							| 
									
										
										
										
											2017-05-25 06:41:35 +08:00
										 |  |  | usedevelop = true | 
					
						
							|  |  |  | deps = | 
					
						
							|  |  |  |     pytest>=3 | 
					
						
							|  |  |  |     coverage | 
					
						
							| 
									
										
										
										
											2014-09-04 20:34:10 +08:00
										 |  |  |     greenlet | 
					
						
							| 
									
										
										
										
											2017-05-25 06:41:35 +08:00
										 |  |  |     blinker | 
					
						
							| 
									
										
										
										
											2017-07-15 13:37:53 +08:00
										 |  |  |     python-dotenv | 
					
						
							| 
									
										
										
										
											2014-04-26 07:13:19 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-25 06:41:35 +08:00
										 |  |  |     lowest: Werkzeug==0.9 | 
					
						
							| 
									
										
										
										
											2014-09-01 22:33:28 +08:00
										 |  |  |     lowest: Jinja2==2.4 | 
					
						
							| 
									
										
										
										
											2014-09-01 06:30:27 +08:00
										 |  |  |     lowest: itsdangerous==0.21 | 
					
						
							| 
									
										
										
										
											2017-05-24 07:08:46 +08:00
										 |  |  |     lowest: Click==4.0 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-25 06:41:35 +08:00
										 |  |  |     devel: https://github.com/pallets/werkzeug/archive/master.tar.gz | 
					
						
							|  |  |  |     devel: https://github.com/pallets/markupsafe/archive/master.tar.gz | 
					
						
							|  |  |  |     devel: https://github.com/pallets/jinja/archive/master.tar.gz | 
					
						
							|  |  |  |     devel: https://github.com/pallets/itsdangerous/archive/master.tar.gz | 
					
						
							|  |  |  |     devel: https://github.com/pallets/click/archive/master.tar.gz | 
					
						
							| 
									
										
										
										
											2017-05-24 07:08:46 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-04 00:29:12 +08:00
										 |  |  |     simplejson: simplejson | 
					
						
							| 
									
										
										
										
											2017-05-25 06:41:35 +08:00
										 |  |  | commands = | 
					
						
							|  |  |  |     # the examples need to be installed to test successfully | 
					
						
							|  |  |  |     pip install -e examples/flaskr -q | 
					
						
							|  |  |  |     pip install -e examples/minitwit -q | 
					
						
							|  |  |  |     pip install -e examples/patterns/largerapp -q | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     # pytest-cov doesn't seem to play nice with -p | 
					
						
							| 
									
										
										
										
											2017-05-29 01:26:07 +08:00
										 |  |  |     coverage run -p -m pytest tests examples | 
					
						
							| 
									
										
										
										
											2017-05-25 06:41:35 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | [testenv:docs-html] | 
					
						
							| 
									
										
										
										
											2017-05-29 01:26:07 +08:00
										 |  |  | deps = sphinx | 
					
						
							| 
									
										
										
										
											2017-05-25 06:41:35 +08:00
										 |  |  | commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html | 
					
						
							| 
									
										
										
										
											2014-04-26 07:13:19 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-25 06:41:35 +08:00
										 |  |  | [testenv:docs-linkcheck] | 
					
						
							| 
									
										
										
										
											2014-04-26 07:13:19 +08:00
										 |  |  | deps = sphinx | 
					
						
							|  |  |  | commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs docs/_build/linkcheck | 
					
						
							| 
									
										
										
										
											2017-05-25 06:41:35 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | [testenv:coverage-report] | 
					
						
							|  |  |  | deps = coverage | 
					
						
							|  |  |  | skip_install = true | 
					
						
							|  |  |  | commands = | 
					
						
							|  |  |  |     coverage combine | 
					
						
							|  |  |  |     coverage report | 
					
						
							|  |  |  |     coverage html | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [testenv:codecov] | 
					
						
							|  |  |  | passenv = CI TRAVIS TRAVIS_* | 
					
						
							|  |  |  | deps = codecov | 
					
						
							|  |  |  | skip_install = true | 
					
						
							|  |  |  | commands = | 
					
						
							|  |  |  |     coverage combine | 
					
						
							|  |  |  |     coverage report | 
					
						
							|  |  |  |     codecov | 
					
						
							| 
									
										
										
										
											2017-05-29 01:26:07 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | [testenv:detox] | 
					
						
							|  |  |  | skip_install = true | 
					
						
							|  |  |  | deps = detox | 
					
						
							|  |  |  | commands = | 
					
						
							| 
									
										
										
										
											2017-06-28 23:06:18 +08:00
										 |  |  |     detox -e py{36,35,34,33,27,26,py},py{36,27,py}-simplejson,py{36,33,27,26,py}-devel,py{36,33,27,26,py}-lowest | 
					
						
							| 
									
										
										
										
											2017-07-15 13:37:53 +08:00
										 |  |  |     tox -e docs-html,coverage-report |