This repository was archived by the owner on May 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ before_install:
23
23
- if [ -n "$SOLC_VERSION" ]; then sudo apt-get install -y tree unzip; fi
24
24
install :
25
25
- if [ -n "$SOLC_VERSION" ]; then /.$TRAVIS_BUILD_DIR/.travis/install_solc.sh; fi
26
- install :
27
26
- travis_retry pip install setuptools --upgrade
28
27
- travis_retry pip install tox
29
28
- travis_retry pip install coverage
Original file line number Diff line number Diff line change 7
7
set -u
8
8
9
9
mkdir -p $HOME /solc-versions/solc-$SOLC_VERSION
10
- cd solc-versions/solc-$SOLC_VERSION
10
+ cd $HOME / solc-versions/solc-$SOLC_VERSION
11
11
12
12
if [ ! -f solc ]
13
13
then
14
14
git clone --recurse-submodules --branch v$SOLC_VERSION --depth 50 https://github.com/ethereum/solidity.git
15
15
./solidity/scripts/install_deps.sh
16
16
wget https://github.com/ethereum/solidity/releases/download/v$SOLC_VERSION /solidity-ubuntu-trusty.zip
17
17
unzip solidity-ubuntu-trusty.zip
18
- echo " Solidity installed at $TRAVIS_BUILD_DIR /solc-versions/solc-$SOLC_VERSION /solc"
19
- tree $TRAVIS_BUILD_DIR /solc-versions/solc-$SOLC_VERSION
18
+ echo " Solidity installed at $HOME /solc-versions/solc-$SOLC_VERSION /solc"
19
+ tree $HOME /solc-versions/solc-$SOLC_VERSION
20
20
fi
21
21
22
22
if [ -f $HOME /.bin/solc ]
23
23
then
24
24
rm $HOME /.bin/solc
25
25
fi
26
26
27
- ln -s $HOME /solc-versions/solc-$SOLC_VERSION $HOME /.bin/solc
27
+ ln -s $HOME /solc-versions/solc-$SOLC_VERSION /solc $HOME /.bin/solc
28
+ # Check path is correctly set up and echo version
29
+ cd
30
+ echo $PATH
31
+ ls -al $HOME /.bin
32
+ ls -al $( readlink -f $HOME /.bin/solc)
33
+ solc --version
You can’t perform that action at this time.
0 commit comments