diff options
author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2016-09-08 15:23:41 +0300 |
---|---|---|
committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2016-09-08 15:23:41 +0300 |
commit | 9623cfafdc4e42234fe013aa582c6e496b54fd42 (patch) | |
tree | d76ba92aba10213961a605ebce58c3c3f1c05fb2 /.travis.yml | |
parent | c8bccf48dbfebcc79296509a6db28881e88cb26c (diff) | |
download | cherrypy-git-9623cfafdc4e42234fe013aa582c6e496b54fd42.tar.gz |
Don't install cherrypy when just running pre-commit
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
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: |