updated .travis.yml to use install.sh for Cargo; src/chrono -> src.
This commit is contained in:
parent
39d723fc6f
commit
b5a2340214
|
@ -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
|
||||
|
|
|
@ -7,4 +7,3 @@ authors = ["Kang Seonghoon <public+rust@mearie.org>"]
|
|||
[[lib]]
|
||||
|
||||
name = "chrono"
|
||||
path = "src/chrono/lib.rs"
|
||||
|
|
Loading…
Reference in New Issue