ci: break up .travis.yml
This commit is contained in:
13
web3.js/.travis/before_install.sh
Normal file
13
web3.js/.travis/before_install.sh
Normal file
@ -0,0 +1,13 @@
|
||||
# |source| this file
|
||||
|
||||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
||||
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
|
||||
rustup --version
|
Reference in New Issue
Block a user