Disable prepublish script in test.

This commit is contained in:
chriseth 2017-10-16 22:18:12 +02:00
parent 18a72dbe46
commit 09ff9282df

View File

@ -36,6 +36,10 @@ DIR=$(mktemp -d)
echo "Preparing solc-js..."
git clone --depth 1 https://github.com/ethereum/solc-js "$DIR"
cd "$DIR"
# disable "prepublish" script which downloads the latest version
# (we will replace it anyway and it is often incorrectly cached
# on travis)
npm set script.prepublish ''
npm install
# Replace soljson with current build