Skip to content

Commit 0194eb3

Browse files
committed
If install of zstd fails, don't abort the test run.
zstd is optional. If it fails allow the test run to continue.
1 parent 3cfb395 commit 0194eb3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,10 @@ install:
108108
- if [[ $TRAVIS_PYTHON_VERSION != "3.4"* ]]; then pip install mistune==0.8.4; fi
109109
- if [[ $TRAVIS_PYTHON_VERSION != "3.4"* && $TRAVIS_PYTHON_VERSION != "2."* ]]; then pip install Markdown; fi
110110
- pip install markdown2
111-
- pip install brotli zstd
111+
- pip install brotli
112+
# zstd fails to build under python nightly aborting test.
113+
# allow testing to still happen if the optional package doesn't install.
114+
- pip install zstd || exit 0
112115

113116
before_script:
114117
# set up mysql database

0 commit comments

Comments
 (0)