Move tests into their own crate

This commit is contained in:
David Tolnay 2017-11-12 17:26:09 -08:00
parent 9d2f3453d1
commit cdb1bfd237
152 changed files with 15 additions and 0 deletions

View file

@ -9,6 +9,7 @@ before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
script: script:
- cargo test - cargo test
- cargo test --manifest-path test-suite/Cargo.toml
- rustdoc --test README.md -L target - rustdoc --test README.md -L target
- test "$TRAVIS_RUST_VERSION" != "1.15.0" && cargo doc --no-deps || echo "skipping cargo doc" - test "$TRAVIS_RUST_VERSION" != "1.15.0" && cargo doc --no-deps || echo "skipping cargo doc"
after_success: after_success:

14
test-suite/Cargo.toml Normal file
View file

@ -0,0 +1,14 @@
[package]
name = "toml_test_suite"
version = "0.0.0"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
publish = false
[build-dependencies]
rustc_version = "0.2"
[dev-dependencies]
toml = { path = ".." }
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"

Some files were not shown because too many files have changed in this diff Show more