From 4617e2e5ba4e8f86179c519eb2a75a77efe9bc8b Mon Sep 17 00:00:00 2001 From: Brandon W Maister Date: Tue, 3 Sep 2019 22:30:25 -0400 Subject: [PATCH 1/2] Make the wasm-pack tests actually run --- ci/travis.sh | 10 ++++------ tests/wasm.rs | 2 -- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/ci/travis.sh b/ci/travis.sh index 04dfe83..98e25ce 100755 --- a/ci/travis.sh +++ b/ci/travis.sh @@ -65,16 +65,14 @@ build_and_test_nonwasm() { } build_and_test_wasm() { - channel build --features wasmbind -v - touch tests/wasm.rs # ensure rebuild happens so TZ / NOW take effect - TZ=ACST-9:30 NOW=$(date +%s) wasm-pack test --node + TZ=ACST-9:30 NOW=$(date +%s) wasm-pack test --node -- --features wasmbind touch tests/wasm.rs - TZ=EST4 NOW=$(date +%s) wasm-pack test --node + TZ=EST4 NOW=$(date +%s) wasm-pack test --node -- --features wasmbind touch tests/wasm.rs - TZ=UTC0 NOW=$(date +%s) wasm-pack test --node + TZ=UTC0 NOW=$(date +%s) wasm-pack test --node -- --features wasmbind touch tests/wasm.rs - TZ=Asia/Katmandu NOW=$(date +%s) wasm-pack test --node + TZ=Asia/Katmandu NOW=$(date +%s) wasm-pack test --node -- --features wasmbind } build_only() { diff --git a/tests/wasm.rs b/tests/wasm.rs index e125372..48ac8db 100644 --- a/tests/wasm.rs +++ b/tests/wasm.rs @@ -6,8 +6,6 @@ mod test { use self::chrono::prelude::*; use self::wasm_bindgen_test::*; - use std::env; - #[wasm_bindgen_test] fn now() { let utc: DateTime = Utc::now(); From be93229271631919cfde1bca29ff6f278099233d Mon Sep 17 00:00:00 2001 From: Brandon W Maister Date: Tue, 3 Sep 2019 22:14:00 -0400 Subject: [PATCH 2/2] Bump Chrono version to 0.4.9 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 4ef98fb..5185872 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "chrono" -version = "0.4.8" +version = "0.4.9" authors = [ "Kang Seonghoon ", "Brandon W Maister ",