summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2016-09-08 15:48:42 +0300
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2016-09-08 15:48:42 +0300
commit2035500ef638a079665a29548aea74761d8877ef (patch)
tree6447312853736ceab94a05a7c1b8a826bfaca7b5
parentd002138a3f6ecab5ad4542ef115dd14e7b6fd79c (diff)
downloadcherrypy-git-2035500ef638a079665a29548aea74761d8877ef.tar.gz
Double-quote env vars in comparisons
-rw-r--r--.travis.yml6
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