1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-06 09:40:41 +03:00
SoftEtherVPN/.ci/before_install.sh
Davide Beatrici 7f499d0e5f Travis CI: add MacOS target and create scripts files (#523)
* makefiles: add /usr/local/opt/openssl/include and /usr/local/opt/openssl/lib as include paths on MacOS

* Travis CI: add MacOS target and create scripts files
2018-05-02 23:12:01 +02:00

13 lines
306 B
Bash

#!/bin/bash
set -eux
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
sudo apt-get update
sudo apt-get -y install debhelper
bash .ci/build-openssl.sh > build-deps.log 2>&1 || (cat build-deps.log && exit 1)
elif [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
brew update && brew upgrade openssl
else
exit 1
fi