diff options
author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2016-09-08 15:48:42 +0300 |
---|---|---|
committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2016-09-08 15:48:42 +0300 |
commit | 2035500ef638a079665a29548aea74761d8877ef (patch) | |
tree | 6447312853736ceab94a05a7c1b8a826bfaca7b5 | |
parent | d002138a3f6ecab5ad4542ef115dd14e7b6fd79c (diff) | |
download | cherrypy-git-2035500ef638a079665a29548aea74761d8877ef.tar.gz |
Double-quote env vars in comparisons
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 4227b29f..b2a071ec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,10 +29,10 @@ cache: pip env: - WEBTEST_INTERACTIVE=false -before_install: 'if [ $RUN_LINTS = "true" ]; then pip install pre-commit; fi' +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' -script: 'if [ $RUN_LINTS = "true" ]; then pre-commit run --all-files; else nosetests; fi' +install: 'if [ "$RUN_LINTS" != "true" ]; then pip install -e .; fi' +script: 'if [ "$RUN_LINTS" = "true" ]; then pre-commit run --all-files; else nosetests; fi' deploy: provider: pypi |