From 417f6ebdcf176b025332d2e4e6f973afc87cb62a Mon Sep 17 00:00:00 2001 From: Kang Seonghoon Date: Thu, 21 Aug 2014 09:20:19 +0900 Subject: [PATCH] fixed .travis.yml to use the correct URL for Cargo nightly. --- .gitignore | 1 + .travis.yml | 6 +++--- Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index eb5a316..a9d37c5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ target +Cargo.lock diff --git a/.travis.yml b/.travis.yml index 5ce94bb..5ca68aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 2c5a814..363c1fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,6 @@ name = "chrono" version = "0.1.0" authors = ["Kang Seonghoon "] -[[lib]] +[lib] name = "chrono"