File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,15 @@ before_install:
171171install :
172172 - if [[ -e build-requirements-${TRAVIS_PYTHON_VERSION}.txt ]]; then travis_retry pip install -r build-requirements-${TRAVIS_PYTHON_VERSION}.txt; else travis_retry pip install -r build-requirements.txt; fi
173173 - if [[ $TACKPY == 'true' ]]; then travis_retry pip install tackpy; fi
174- - if [[ $M2CRYPTO == 'true' ]]; then travis_retry pip install --pre m2crypto; fi
174+ - |
175+ if [[ $M2CRYPTO == 'true' ]]; then
176+ # it looks like 0.37.0 broke compatibility with old OpenSSL so try using old version
177+ if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]] || [[ $TRAVIS_PYTHON_VERSION == 3.5 ]] || [[ $TRAVIS_PYTHON_VERSION == 3.6 ]] ; then
178+ travis_retry pip install 'm2crypto<0.37';
179+ else
180+ travis_retry pip install --pre m2crypto;
181+ fi
182+ fi
175183 - if [[ $PYCRYPTO == 'true' ]]; then travis_retry pip install pycrypto; fi
176184 - if [[ $PYCRYPTODOME == 'true' ]]; then travis_retry pip install pycryptodome; fi
177185 - if [[ $GMPY == 'true' ]]; then travis_retry pip install gmpy; fi
You can’t perform that action at this time.
0 commit comments