ci: try install openssl

This commit is contained in:
quininer 2019-10-10 23:25:17 +08:00
parent d8235071cd
commit 7864945694

View File

@ -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