Move tests into their own crate
This commit is contained in:
parent
9d2f3453d1
commit
cdb1bfd237
|
@ -9,6 +9,7 @@ before_script:
|
|||
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
|
||||
script:
|
||||
- cargo test
|
||||
- cargo test --manifest-path test-suite/Cargo.toml
|
||||
- rustdoc --test README.md -L target
|
||||
- test "$TRAVIS_RUST_VERSION" != "1.15.0" && cargo doc --no-deps || echo "skipping cargo doc"
|
||||
after_success:
|
||||
|
|
14
test-suite/Cargo.toml
Normal file
14
test-suite/Cargo.toml
Normal 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
Loading…
Reference in a new issue