aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-10-17 04:18:12 +0800
committerchriseth <chris@ethereum.org>2017-10-17 04:18:12 +0800
commit09ff9282dff7f9b1b765a18984c80ab33e031d16 (patch)
tree6925dbc6cb880c38abea4baf4509631ed346b1af
parent18a72dbe4668e23aaf38404183b978fbbb1824d1 (diff)
downloaddexon-solidity-09ff9282dff7f9b1b765a18984c80ab33e031d16.tar.gz
dexon-solidity-09ff9282dff7f9b1b765a18984c80ab33e031d16.tar.zst
dexon-solidity-09ff9282dff7f9b1b765a18984c80ab33e031d16.zip
Disable prepublish script in test.
-rwxr-xr-xscripts/test_emscripten.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/test_emscripten.sh b/scripts/test_emscripten.sh
index b01b33bb..d5823388 100755
--- a/scripts/test_emscripten.sh
+++ b/scripts/test_emscripten.sh
@@ -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