mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[test] Fix external tests.
This commit is contained in:
parent
21dc6c8356
commit
a66c8cd6df
@ -97,6 +97,18 @@ function truffle_setup
|
|||||||
local repo="$2"
|
local repo="$2"
|
||||||
local branch="$3"
|
local branch="$3"
|
||||||
|
|
||||||
|
# only execute this, if script is executed in circleci.
|
||||||
|
if [[ "${CIRCLECI}" ]]
|
||||||
|
then
|
||||||
|
# truffle need to have a vyper executable in ${PATH},
|
||||||
|
# so we just add a fake vyper executable to /usr/bin.
|
||||||
|
if ! command -v vyper &> /dev/null
|
||||||
|
then
|
||||||
|
sudo touch /usr/bin/vyper
|
||||||
|
sudo chmod +x /usr/bin/vyper
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
setup_solcjs "$DIR" "$soljson" "master" "solc"
|
setup_solcjs "$DIR" "$soljson" "master" "solc"
|
||||||
download_project "$repo" "$branch" "$DIR"
|
download_project "$repo" "$branch" "$DIR"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user