Fixed an warning and adjusted CI config for min supported version.

This commit is contained in:
Kang Seonghoon 2017-02-06 05:03:01 +09:00
parent ebdc022045
commit e9401d9266
No known key found for this signature in database
GPG Key ID: 82440FABA6709020
3 changed files with 3 additions and 7 deletions

View File

@ -1,8 +1,7 @@
language: rust
sudo: false
rust:
# 1.8.0 is the earliest known version that Cargo does work for the current crates.io-index repo.
# probably older versions work, but we are forced to use this as the minimum for Cargo...
# 1.13.0 is the earliest version that Serde 0.9 tests, so we follow suit
- 1.13.0
- stable
- beta
@ -23,8 +22,8 @@ script:
- cargo test -v
- cargo build -v --features rustc-serialize
- cargo test -v --features rustc-serialize --lib
- cargo build -v --features serde
- cargo test -v --features serde --lib
- cargo build -v --features 'serde bincode'
- cargo test -v --features 'serde bincode' --lib
notifications:
email: false
irc:

View File

@ -1486,7 +1486,6 @@ mod serde {
#[test]
fn test_serde_deserialize() {
use naive::date::{self, NaiveDate};
use self::serde_json::from_str;
let from_str = |s: &str| serde_json::from_str::<NaiveDateTime>(s);

View File

@ -1376,8 +1376,6 @@ mod serde {
#[test]
fn test_serde_deserialize() {
use self::serde_json::from_str;
let from_str = |s: &str| serde_json::from_str::<NaiveTime>(s);
assert_eq!(from_str(r#""00:00:00""#).ok(),