You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marvin.apache.org by we...@apache.org on 2022/01/19 04:26:40 UTC

[incubator-marvin] 06/11: Compiling cryptography from source on travisci

This is an automated email from the ASF dual-hosted git repository.

weichen pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-marvin.git

commit 32240d2deae1cb7c57c050b41d431802fa2c59f1
Author: cardosolucas <ca...@gmail.com>
AuthorDate: Sun Nov 28 21:14:21 2021 -0300

    Compiling cryptography from source on travisci
---
 .travis.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 45bf74e..e50c911 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -49,12 +49,13 @@ matrix:
         - export MARVIN_HOME=./marvin_home
         - export MARVIN_DATA_PATH=./marvin_data
         - export SPARK_HOME=../spark-2.1.1-bin-hadoop2.6
-        - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libsasl2-dev python-pip graphviz rustc cargo libssl-dev -y    ; fi
+        - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install build-essential libsasl2-dev python-pip graphviz rustc cargo libssl-dev libffi-dev python-dev -y    ; fi
         - travis_retry pip install --upgrade pip
       install:
         - travis_retry pip install codecov
         - travis_retry pip install unidecode
         - travis_retry pip install tox tox-travis
+        - travis_retry pip install cryptography --no-binary cryptography
         - make install
       script:
         - travis_wait 30 tox -rvve py36
@@ -75,12 +76,13 @@ matrix:
         - export MARVIN_HOME=./marvin_home
         - export MARVIN_DATA_PATH=./marvin_data
         - export SPARK_HOME=../spark-2.1.1-bin-hadoop2.6
-        - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libsasl2-dev python-pip graphviz rustc cargo libssl-dev -y    ; fi
+        - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install build-essential libsasl2-dev python-pip graphviz rustc cargo libssl-dev libffi-dev python-dev -y    ; fi
         - travis_retry pip install --upgrade pip
       install:
         - travis_retry pip install codecov
         - travis_retry pip install unidecode
         - travis_retry pip install tox tox-travis
+        - travis_retry pip install cryptography --no-binary cryptography
         - make install
         - marvin
       script: