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/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz
|
||||||
- curl -O http://static.rust-lang.org/cargo-dist/cargo-nightly-linux.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
|
- 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
|
- 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:
|
script:
|
||||||
- cargo build
|
- cargo build
|
||||||
- cargo test
|
- cargo test
|
||||||
- rustdoc src/chrono/lib.rs
|
- rustdoc src/lib.rs
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
|
@ -7,4 +7,3 @@ authors = ["Kang Seonghoon <public+rust@mearie.org>"]
|
||||||
[[lib]]
|
[[lib]]
|
||||||
|
|
||||||
name = "chrono"
|
name = "chrono"
|
||||||
path = "src/chrono/lib.rs"
|
|
||||||
|
|
Loading…
Reference in New Issue