Install pysha3 to provide the SHA3 routines on Python < 3.6, and install
pygost to provide a Streebog implementation.
---
.travis.yml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 7fe3c06aa..196e3520a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,7 +8,14 @@ python:
- pypy
# command to install dependencies
-install: "pip install lxml"
+install:
+ - pip install lxml
+ # python3.6+ has sha3 built-in, for older versions install pysha3
+ # (except for pypy where pysha3 is broken)
+ - "[[ ${TRAVIS_PYTHON_VERSION} == 3.[6789] || ${TRAVIS_PYTHON_VERSION} ==
pypy ]] || pip install pysha3"
+ # always install pygost for Streebog
+ # (except for py3.3 which it does not support)
+ - "[[ ${TRAVIS_PYTHON_VERSION} == 3.3 ]] || pip install pygost"
script:
- printf "[build_ext]\nportage-ext-modules=true" >> setup.cfg
--
2.12.0