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