Cargo now runs doc tests
This commit is contained in:
parent
934e093047
commit
a4f07b40f5
|
@ -3,7 +3,6 @@ install:
|
||||||
script:
|
script:
|
||||||
- cargo build --verbose
|
- cargo build --verbose
|
||||||
- cargo test --verbose
|
- cargo test --verbose
|
||||||
- rustdoc --test src/lib.rs -L target --crate-name toml
|
|
||||||
- cargo doc
|
- cargo doc
|
||||||
after_success: ! '[ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ]
|
after_success: ! '[ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ]
|
||||||
&& echo ''<meta http-equiv=refresh content=0;url=toml/index.html>'' > target/doc/index.html
|
&& echo ''<meta http-equiv=refresh content=0;url=toml/index.html>'' > target/doc/index.html
|
||||||
|
|
Loading…
Reference in a new issue