summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>2016-09-17 17:51:51 +0300
committerGitHub <noreply@github.com>2016-09-17 17:51:51 +0300
commit11b4df500074598abd05b3ea7f95cdb0a8bae299 (patch)
treea34b75bcae2f25c51703b62417283d510022eb74 /.travis.yml
parent7877ae712ffe6a76872393b152b01f04e0144154 (diff)
downloadcherrypy-git-11b4df500074598abd05b3ea7f95cdb0a8bae299.tar.gz
Add extras for feature flags (#1496)
* Add feature flags with optional dependencies Defined new extras: - routes-dispatcher - multienv-tests - test-tools * Change extra names to use underscore instead of dashes * Extend test_tools extra * Notice, that env marker may not work as expected * Add rest of extras - doc - json - ssl - win32 - xcgi * Move docstring out of extras_require dict * Move version-dependent mock package out of dict Environment markers (PEP426) don't seem to work well across pythons * Import built-in mock for Python>=3.3 * Replace tox requirements with internal extra deps * Move win32 extra to platform-dependent env marker * Add routes and test tools dependencies to travis * Add docs about extras * Fix memcached_session extra spelling * Fix double backticks in RST Closes #1480
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index b2a071ec..77a08634 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,8 +30,7 @@ env:
- WEBTEST_INTERACTIVE=false
before_install: 'if [ "$RUN_LINTS" = "true" ]; then pip install pre-commit; fi'
-# TODO: consider installing optional dependencies to run skipped tests
-install: 'if [ "$RUN_LINTS" != "true" ]; then pip install -e .; fi'
+install: 'if [ "$RUN_LINTS" != "true" ]; then pip install -e .[test_tools,routes_dispatcher]; fi'
script: 'if [ "$RUN_LINTS" = "true" ]; then pre-commit run --all-files; else nosetests; fi'
deploy: