fix remove_locales condition

This commit is contained in:
Wolfgang Walther
2020-07-16 12:20:54 +02:00
parent a69ea532ee
commit b1a7384896

View File

@@ -15,7 +15,7 @@ install:
- pip install pyyaml coveralls flake8 flake8-import-order doc8
- if [[ $TRAVIS_PYTHON_VERSION != 2* ]]; then pip install sphinx; fi
- pip install .
- if [[ $REMOVE_LOCALES ]]; then sudo rm -rf /usr/lib/locale/* ; fi
- if [[ $REMOVE_LOCALES = "true" ]]; then sudo rm -rf /usr/lib/locale/* ; fi
script:
- if [[ $TRAVIS_PYTHON_VERSION != nightly ]]; then flake8 .; fi
- if [[ $TRAVIS_PYTHON_VERSION != 2* ]]; then doc8 $(git ls-files '*.rst'); fi