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 target
Cargo.lock

View File

@ -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

View File

@ -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"