fixed .travis.yml to use the correct URL for Cargo nightly.

This commit is contained in:
Kang Seonghoon 2014-08-21 09:20:19 +09:00
parent 86259a120f
commit 417f6ebdcf
3 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
target
Cargo.lock

View File

@ -6,11 +6,11 @@ before_install:
# - sudo apt-get update
# - 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/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 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 cargo-nightly/ && sudo ./install.sh)
- (cd cargo-nightly-x86_64-unknown-linux-gnu/ && sudo ./install.sh)
script:
- cargo build
- cargo test

View File

@ -4,6 +4,6 @@ name = "chrono"
version = "0.1.0"
authors = ["Kang Seonghoon <public+rust@mearie.org>"]
[[lib]]
[lib]
name = "chrono"