diff options
| author | Val Neekman <val@neekware.com> | 2018-03-25 09:21:29 -0400 |
|---|---|---|
| committer | Val Neekman <val@neekware.com> | 2018-03-25 09:21:29 -0400 |
| commit | fd719a77041cbfff4f658e850fc861ec350fb9e7 (patch) | |
| tree | 07db549de0236f93e09d086c0c9cba44fe52ea38 | |
| parent | d12d1fc3851628dba7b071d13d1e61ccbf636fa2 (diff) | |
| download | python-slugify-fd719a77041cbfff4f658e850fc861ec350fb9e7.tar.gz | |
grammer
| -rw-r--r-- | .travis.yml | 6 | ||||
| -rwxr-xr-x | setup.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index a338f6f..b8a617f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,12 +11,12 @@ python: - pypy env: - - SLUGIFY_USE_TEXT_UNIDECODE=yes - - SLUGIFY_USE_UNIDECODE=yes # this is redundant but otherwise travis will only trigger one build type + - SLUGIFY_USES_TEXT_UNIDECODE=yes + - SLUGIFY_USES_UNIDECODE=yes # this is redundant but otherwise travis will only trigger one build type install: - pip install pip -U - - if [[ -z "${SLUGIFY_USE_TEXT_UNIDECODE}" ]]; then pip install -q -r requirements.txt; else pip install -q -r alt_requirements.txt; fi + - if [[ -z "${SLUGIFY_USES_TEXT_UNIDECODE}" ]]; then pip install -q -r requirements.txt; else pip install -q -r alt_requirements.txt; fi - pip install -e . - pip install pycodestyle - pip install coveralls @@ -15,7 +15,7 @@ url = 'https://github.com/un33k/python-slugify' author = 'Val Neekman' author_email = 'info@neekware.com' license = 'MIT' -if "SLUGIFY_USE_TEXT_UNIDECODE" in os.environ: +if "SLUGIFY_USES_TEXT_UNIDECODE" in os.environ: install_requires = ['text-unidecode>=1.2'] else: install_requires = ['Unidecode>=0.04.16'] |
