mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-24 14:11:42 +00:00
fix osx build
This commit is contained in:
parent
dcf8457f4d
commit
9eeebb147f
16
.travis.yml
16
.travis.yml
@ -22,20 +22,10 @@ addons:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- if [ "$TRAVIS_OS_NAME" = 'osx' ]; then
|
- if [ "$TRAVIS_OS_NAME" = 'osx' ]; then
|
||||||
brew update && brew install openssl socat;
|
brew update && brew install socat;
|
||||||
brew info openssl;
|
export PATH="/usr/local/opt/openssl@1.1/bin:$PATH" ;
|
||||||
ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/;
|
|
||||||
ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/;
|
|
||||||
ln -s /usr/local/Cellar/openssl/1.0.2j/bin/openssl /usr/local/openssl;
|
|
||||||
_old_path="$PATH";
|
|
||||||
echo "PATH=$PATH";
|
|
||||||
export PATH="";
|
|
||||||
export ACME_OPENSSL_BIN="/usr/local/openssl";
|
|
||||||
openssl version 2>&1 || true;
|
|
||||||
$ACME_OPENSSL_BIN version 2>&1 || true;
|
|
||||||
export PATH="$_old_path";
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- echo "NGROK_TOKEN=$(echo "$NGROK_TOKEN" | wc -c)"
|
- echo "NGROK_TOKEN=$(echo "$NGROK_TOKEN" | wc -c)"
|
||||||
- command -V openssl && openssl version
|
- command -V openssl && openssl version
|
||||||
|
Loading…
Reference in New Issue
Block a user