fixed .travis.yml to use the correct URL for Cargo nightly.
This commit is contained in:
parent
86259a120f
commit
417f6ebdcf
|
@ -1 +1,2 @@
|
||||||
target
|
target
|
||||||
|
Cargo.lock
|
||||||
|
|
|
@ -6,11 +6,11 @@ before_install:
|
||||||
# - sudo apt-get update
|
# - sudo apt-get update
|
||||||
# - sudo apt-get install rust-nightly
|
# - sudo apt-get install rust-nightly
|
||||||
- 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-x86_64-unknown-linux-gnu.tar.gz
|
||||||
- tar xfz rust-nightly-x86_64-unknown-linux-gnu.tar.gz
|
- tar xfz rust-nightly-x86_64-unknown-linux-gnu.tar.gz
|
||||||
- tar xfz cargo-nightly-linux.tar.gz
|
- tar xfz cargo-nightly-x86_64-unknown-linux-gnu.tar.gz
|
||||||
- (cd rust-nightly-x86_64-unknown-linux-gnu/ && sudo ./install.sh)
|
- (cd rust-nightly-x86_64-unknown-linux-gnu/ && sudo ./install.sh)
|
||||||
- (cd cargo-nightly/ && sudo ./install.sh)
|
- (cd cargo-nightly-x86_64-unknown-linux-gnu/ && sudo ./install.sh)
|
||||||
script:
|
script:
|
||||||
- cargo build
|
- cargo build
|
||||||
- cargo test
|
- cargo test
|
||||||
|
|
|
@ -4,6 +4,6 @@ name = "chrono"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Kang Seonghoon <public+rust@mearie.org>"]
|
authors = ["Kang Seonghoon <public+rust@mearie.org>"]
|
||||||
|
|
||||||
[[lib]]
|
[lib]
|
||||||
|
|
||||||
name = "chrono"
|
name = "chrono"
|
||||||
|
|
Loading…
Reference in New Issue