aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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