File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,14 @@ before_install:
135135install :
136136 - 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
137137 - if [[ $TACKPY == 'true' ]]; then travis_retry pip install tackpy; fi
138- - if [[ $M2CRYPTO == 'true' ]]; then travis_retry pip install --pre m2crypto; fi
138+ - |
139+ if [[ $M2CRYPTO == 'true' ]]; then
140+ if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]] || [[ $TRAVIS_PYTHON_VERSION == 3.4 ]] || [[ $TRAVIS_PYTHON_VERSION == 3.5 ]] || [[ $TRAVIS_PYTHON_VERSION == 3.6 ]] ; then
141+ travis_retry pip install 'm2crypto<0.37';
142+ else
143+ travis_retry pip install --pre m2crypto;
144+ fi
145+ fi
139146 - if [[ $PYCRYPTO == 'true' ]]; then travis_retry pip install pycrypto; fi
140147 - if [[ $PYCRYPTODOME == 'true' ]]; then travis_retry pip install pycryptodome; fi
141148 - if [[ $GMPY == 'true' ]]; then travis_retry pip install gmpy; fi
You can’t perform that action at this time.
0 commit comments