From 82b7bdeb93f74fbbee632be2b74a485e7222093f Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 12 Feb 2019 10:46:43 -0800 Subject: [PATCH] Fix wasm-interpreter tests --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 6a4c7f8c..a1bf5e38 100644 --- a/.travis.yml +++ b/.travis.yml @@ -175,6 +175,11 @@ matrix: # wasm-interpreter tests work alright - name: "test wasm-bindgen-wasm-interpreter crate" + install: + - git clone https://github.com/WebAssembly/wabt + - mkdir -p wabt/build + - (cd wabt/build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=sccache -DCMAKE_CXX_COMPILER_ARG1=c++ -DBUILD_TESTS=OFF && cmake --build . -- -j4) + - export PATH=$PATH:`pwd`/wabt/build script: cargo test -p wasm-bindgen-wasm-interpreter if: branch = master