updated .travis.yml to use `cargo doc` for doc generation.

This commit is contained in:
Kang Seonghoon 2014-07-29 16:23:29 +09:00
parent 95f5c0c095
commit 55d5d49f1c
2 changed files with 2 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,2 +1 @@
doc
target target

View File

@ -14,9 +14,9 @@ before_install:
script: script:
- cargo build - cargo build
- cargo test - cargo test
- rustdoc src/lib.rs - cargo doc
branches: branches:
only: only:
- master - master
after_script: after_script:
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh - cd target && curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh