From 3b55087a86660c4d25548a2446b655f0c103e7b3 Mon Sep 17 00:00:00 2001 From: Jack May Date: Thu, 5 Mar 2020 13:37:00 -0800 Subject: [PATCH] fix: install openssl libs for ubuntu --- web3.js/.travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/web3.js/.travis.yml b/web3.js/.travis.yml index 1abec54ede..cd367bdfee 100644 --- a/web3.js/.travis.yml +++ b/web3.js/.travis.yml @@ -1,4 +1,4 @@ -dist: xenial +dist: bionic sudo: required language: node_js node_js: @@ -21,10 +21,12 @@ notifications: before_install: - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - - - sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-7 main" - - sudo apt-add-repository "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial main" + - sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main" - sudo apt-get update - sudo apt-get install -y clang-7 --allow-unauthenticated + - sudo apt-get install -y openssl --allow-unauthenticated + - sudo apt-get install -y libssl-dev --allow-unauthenticated + - sudo apt-get install -y libssl1.1 --allow-unauthenticated - clang-7 --version - curl https://sh.rustup.rs -sSf | sh -s -- -y - PATH=$HOME/.cargo/bin:$PATH