From fbcfc5fc8846e349cc041cfaf2899384c8469b4e Mon Sep 17 00:00:00 2001 From: Elichai Turkel Date: Thu, 27 Aug 2020 23:42:19 +0300 Subject: [PATCH] fix travis.yml after changing Cargo.toml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index dd84e6f..12fcce4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -62,7 +62,7 @@ script: - if [ ${TRAVIS_RUST_VERSION} == "stable" -a "$TRAVIS_OS_NAME" = "linux" ]; then clang --version && CARGO_TARGET_DIR=wasm cargo install --verbose --force wasm-pack && - sed -i 's/\[lib\]/[lib]\ncrate-type = ["cdylib", "rlib"]/' Cargo.toml && + printf '\n[lib]\ncrate-type = ["cdylib", "rlib"]\n' >> Cargo.toml && CC=clang-9 wasm-pack build && CC=clang-9 wasm-pack test --node; fi