From 09ff9282dff7f9b1b765a18984c80ab33e031d16 Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 16 Oct 2017 22:18:12 +0200 Subject: [PATCH 1/2] Disable prepublish script in test. --- scripts/test_emscripten.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/test_emscripten.sh b/scripts/test_emscripten.sh index b01b33bb7..d5823388a 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 From 9d5c96ebdd9d118830458877682a746ab0c73fdc Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 17 Oct 2017 19:10:31 +0200 Subject: [PATCH 2/2] Use config explicitly --- scripts/test_emscripten.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test_emscripten.sh b/scripts/test_emscripten.sh index d5823388a..4996e9577 100755 --- a/scripts/test_emscripten.sh +++ b/scripts/test_emscripten.sh @@ -39,7 +39,7 @@ DIR=$(mktemp -d) # 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 config set script.prepublish '' npm install # Replace soljson with current build