From 78834a1bb4b4a0705d3b47e2583cae393d424eec Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Sun, 19 Apr 2020 15:22:55 +0900 Subject: [PATCH] Install libssh2 on macOS --- ci/run.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/run.sh b/ci/run.sh index 711acf56..13409c44 100755 --- a/ci/run.sh +++ b/ci/run.sh @@ -23,6 +23,8 @@ case "${TRAVIS_OS_NAME}" in TEST_TARGET=x86_64-pc-windows-msvc cargo test --verbose -- --nocapture ;; *"macos"*) + # Needs for travis. + brew install libssh2 TEST_TARGET=x86_64-apple-darwin cargo test --verbose -- --nocapture ;; esac