From ad9fba41e73db2ac1932169e7c206bd64468db93 Mon Sep 17 00:00:00 2001 From: Eh2406 Date: Sun, 17 Dec 2017 23:14:45 -0500 Subject: [PATCH] add serde to travis --- .travis.yml | 10 ++++++++-- Cargo.toml | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index b1126a2..5d629ce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,10 +5,16 @@ rust: - nightly env: - - ARCH=x86_64 - - ARCH=i686 + - ARCH=x86_64 FEATURES='' + - ARCH=i686 FEATURES='' + - ARCH=x86_64 FEATURES='serde' + - ARCH=i686 FEATURES='serde' addons: apt: packages: - gcc-multilib + +script: + - cargo build --verbose --features "$FEATURES" + - cargo test --verbose --features "$FEATURES" diff --git a/Cargo.toml b/Cargo.toml index 61df636..452a742 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ keywords = ["stats", "mean", "skewness", "kurtosis", "quantile"] [dependencies] conv = { version = "0.3", default-features = false } quickersort = "3" -serde = { version = "1", default-features = false, optional = true, features = ["derive"]} +serde = { version = "1", optional = true, features = ["derive"]} [dev-dependencies] bencher = "0.1"