summaryrefslogtreecommitdiff
path: root/scripts/travis/before_script.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/travis/before_script.sh')
-rwxr-xr-xscripts/travis/before_script.sh15
1 files changed, 14 insertions, 1 deletions
diff --git a/scripts/travis/before_script.sh b/scripts/travis/before_script.sh
index 60b63ece3..a9124a735 100755
--- a/scripts/travis/before_script.sh
+++ b/scripts/travis/before_script.sh
@@ -70,7 +70,7 @@ if [ $TRAVIS_OS_NAME = linux ]; then
tar -xzf v4.0.0-stable.tar.gz
cd wolfssl-4.0.0-stable
./autogen.sh
- ./configure --enable-tls13 --enable-all
+ ./configure --enable-tls13 --enable-all --enable-ssh
touch wolfssl/wolfcrypt/fips.h
make
fi
@@ -78,6 +78,19 @@ if [ $TRAVIS_OS_NAME = linux ]; then
cd $HOME/wolfssl-4.0.0-stable
sudo make install
+ if [ ! -e $HOME/wolfssh-1.4.3-stable/Makefile ]; then
+ cd $HOME
+ curl -LO https://github.com/wolfSSL/wolfssh/archive/v1.4.3-stable.tar.gz
+ tar -xzf v1.4.3-stable.tar.gz
+ cd wolfssh-1.4.3-stable
+ ./autogen.sh
+ ./configure --enable-sftp --disable-examples
+ make
+ fi
+
+ cd $HOME/wolfssh-1.4.3-stable
+ sudo make install
+
if [ ! -e $HOME/mesalink-1.0.0/Makefile ]; then
cd $HOME
curl https://sh.rustup.rs -sSf | sh -s -- -y