travis-ci: build libstrophe against LibreSSL

This commit is contained in:
Dmitry Podgorny
2020-09-24 13:38:29 +03:00
parent acced31192
commit 99f2d4fe54
2 changed files with 19 additions and 3 deletions

14
travis/before_script.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
if [ "x$LIBRESSL" = "xyes" ]; then
cd "$HOME"
git clone https://github.com/libressl-portable/portable.git libressl-git
cd libressl-git
if [ -n "$LIBRESSL_COMMIT" ]; then
git checkout "$LIBRESSL_COMMIT"
fi
./autogen.sh
./configure --prefix="$HOME/libressl"
make -j"$(nproc)"
make install
fi