summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2016-09-08 15:23:41 +0300
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2016-09-08 15:23:41 +0300
commit9623cfafdc4e42234fe013aa582c6e496b54fd42 (patch)
treed76ba92aba10213961a605ebce58c3c3f1c05fb2 /.travis.yml
parentc8bccf48dbfebcc79296509a6db28881e88cb26c (diff)
downloadcherrypy-git-9623cfafdc4e42234fe013aa582c6e496b54fd42.tar.gz
Don't install cherrypy when just running pre-commit
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index d1f2df5f..655cf856 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -31,7 +31,7 @@ env:
before_install: 'if [ $RUN_LINTS = "true" ]; then pip install pre-commit; fi'
# TODO: consider installing optional dependencies to run skipped tests
-install: pip install -e .
+install: 'if [[ $RUN_LINTS -ne "true" ]]; then pip install -e .; fi'
script: 'if [ $RUN_LINTS = "true" ]; then pre-commit run --all-files; else nosetests; fi'
deploy: