From 7864945694d8c43b4f14f3a9aba726dbe27528df Mon Sep 17 00:00:00 2001 From: quininer Date: Thu, 10 Oct 2019 23:25:17 +0800 Subject: [PATCH] ci: try install openssl --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index b0b0082..6546945 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,15 @@ matrix: allow_failures: - rust: stable +install: + - wget https://github.com/openssl/openssl/archive/OpenSSL_1_1_1d.tar.gz + - tar xvfz OpenSSL_1_1_1d.tar.gz && cd openssl-OpenSSL_1_1_1d + - if [ $TRAVIS_OS_NAME = "linux" ]; then ./Configure linux-x86_64 --prefix=$HOME/installed_openssl; fi + - if [ $TRAVIS_OS_NAME = "osx" ]; then ./Configure darwin64-x86_64-cc --prefix=$HOME/installed_openssl; fi + - make && make install_sw && cd .. + - export PATH=$HOME/installed_openssl/bin:$PATH + - export LD_LIBRARY_PATH=$HOME/installed_openssl/lib:$LD_LIBRARY_PATH + script: - cargo test - cargo test --features early-data