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
This commit is contained in:
Kent Fredric 2020-02-22 07:54:55 +13:00 committed by Josh Matthews
parent 4aa2a44965
commit d5579582e0
2 changed files with 5 additions and 2 deletions

View File

@ -5,7 +5,10 @@ rust:
- beta - beta
- nightly - nightly
script: cargo test script:
- cargo test
- cargo package
- cd target/package/bincode-* && cargo test
matrix: matrix:
include: include:

View File

@ -2,7 +2,7 @@
name = "bincode" name = "bincode"
version = "1.2.1" # remember to update html_root_url version = "1.2.1" # remember to update html_root_url
authors = ["Ty Overby <ty@pre-alpha.com>", "Francesco Mazzoli <f@mazzo.li>", "David Tolnay <dtolnay@gmail.com>", "Daniel Griffen"] authors = ["Ty Overby <ty@pre-alpha.com>", "Francesco Mazzoli <f@mazzo.li>", "David Tolnay <dtolnay@gmail.com>", "Daniel Griffen"]
exclude = ["logo.png", "tests/*", "examples/*", ".gitignore", ".travis.yml"] exclude = ["logo.png", "examples/*", ".gitignore", ".travis.yml"]
publish = true publish = true