From d5579582e0661e2fbd3123e96891c425615361bd Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Sat, 22 Feb 2020 07:54:55 +1300 Subject: [PATCH] Restore shipping tests re bug #290 Includes changes to travis to re-run the test suite inside a copy of the prepared package. Closes: https://github.com/servo/bincode/issues/290 --- .travis.yml | 5 ++++- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7ceff6a..f9a012a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,10 @@ rust: - beta - nightly -script: cargo test +script: + - cargo test + - cargo package + - cd target/package/bincode-* && cargo test matrix: include: diff --git a/Cargo.toml b/Cargo.toml index 6639f2f..999ebdb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "bincode" version = "1.2.1" # remember to update html_root_url authors = ["Ty Overby ", "Francesco Mazzoli ", "David Tolnay ", "Daniel Griffen"] -exclude = ["logo.png", "tests/*", "examples/*", ".gitignore", ".travis.yml"] +exclude = ["logo.png", "examples/*", ".gitignore", ".travis.yml"] publish = true