updated .travis.yml to use install.sh for Cargo; src/chrono -> src.

This commit is contained in:
Kang Seonghoon 2014-07-15 13:19:22 +09:00
parent 39d723fc6f
commit b5a2340214
7 changed files with 3 additions and 4 deletions

View File

@ -8,13 +8,13 @@ before_install:
- curl -O http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz
- curl -O http://static.rust-lang.org/cargo-dist/cargo-nightly-linux.tar.gz
- tar xfz rust-nightly-x86_64-unknown-linux-gnu.tar.gz
- (cd rust-nightly-x86_64-unknown-linux-gnu/ && sudo ./install.sh --prefix=/usr)
- tar xfz cargo-nightly-linux.tar.gz
- sudo cp -R cargo-nightly/* /usr
- (cd rust-nightly-x86_64-unknown-linux-gnu/ && sudo ./install.sh)
- (cd cargo-nightly/ && sudo ./install.sh)
script:
- cargo build
- cargo test
- rustdoc src/chrono/lib.rs
- rustdoc src/lib.rs
branches:
only:
- master

View File

@ -7,4 +7,3 @@ authors = ["Kang Seonghoon <public+rust@mearie.org>"]
[[lib]]
name = "chrono"
path = "src/chrono/lib.rs"