Skip to content

Commit f149eea

Browse files
committed
Build OpenSSL 1.1.0 during Travis CI builds
1 parent 951f7b5 commit f149eea

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Diff for: .travis.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -87,16 +87,27 @@ cache:
8787
- $HOME/folly
8888

8989
before_script:
90+
- eval "$COMPILER_EVAL"
91+
- export DEP_INSTALL_DIR=$PWD/build/dep-install
92+
# Ubuntu trusty only comes with OpenSSL 1.0.1f, but we require
93+
# at least OpenSSL 1.0.2 for ALPN support.
94+
- curl -L https://github.com/openssl/openssl/archive/OpenSSL_1_1_1.tar.gz -o OpenSSL_1_1_1.tar.gz
95+
- tar -xzf OpenSSL_1_1_1.tar.gz
96+
- cd openssl-OpenSSL_1_1_1
97+
- ./config --prefix=$DEP_INSTALL_DIR no-shared
98+
- make -j4
99+
- make install_sw install_ssldirs
100+
- cd ..
90101
# Install lcov to coveralls conversion + upload tool.
91102
- gem install coveralls-lcov
92103
- lcov --version
93-
- eval "$COMPILER_EVAL"
94104

95105
script:
96106
- mkdir build
97107
- cd build
98108
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE
99109
-DRSOCKET_ASAN=$ASAN -DRSOCKET_INSTALL_DEPS=True
110+
-DCMAKE_PREFIX_PATH=$DEP_INSTALL_DIR
100111
-DRSOCKET_BUILD_WITH_COVERAGE=ON ..
101112
- make -j4
102113
- lcov --directory . --zerocounters

0 commit comments

Comments
 (0)