From 8e542d6cc2d581f23712941ff5670c9f56ce87a4 Mon Sep 17 00:00:00 2001 From: sebcrozet Date: Thu, 24 May 2018 18:44:26 +0200 Subject: [PATCH] Reduce the number of jobs. --- .travis.yml | 8 +------- ci/build.sh | 9 ++++++++- ci/test.sh | 9 +++------ 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4f4bf029..7dff84ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,13 +6,7 @@ rust: - stable env: - - CARGO_FEATURES="" - - CARGO_FEATURES="arbitrary" - - CARGO_FEATURES="mint" - - CARGO_FEATURES="alloc" - - CARGO_FEATURES="serde-serialize" - - CARGO_FEATURES="abomonation-serialize" - - CARGO_FEATURES="debug arbitrary mint serde-serialize abomonation-serialize" + - CARGO_FEATURE_SYSTEM_NETLIB=1 CARGO_FEATURE_EXCLUDE_LAPACKE=1 CARGO_FEATURE_EXCLUDE_CBLAS=1 - NO_STD=1 CARGO_FEATURES="" - NO_STD=1 CARGO_FEATURES="alloc" diff --git a/ci/build.sh b/ci/build.sh index 3237a508..fb1a7572 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -1,7 +1,14 @@ #! /bin/bash if [ -z NO_STD ]; then - cargo build --verbose --features "${CARGO_FEATURES}"; + cargo build --verbose; + cargo build --verbose --features "arbitrary"; + cargo build --verbose --features "mint"; + cargo build --verbose --features "alloc"; + cargo build --verbose --features "serde-serialize"; + cargo build --verbose --features "abomonation-serialize"; + cargo build --verbose --features "debug"; + cargo build --verbose --features "debug arbitrary mint serde-serialize abomonation-serialize"; else cargo install xargo; xargo build --verbose --no-default-features --target=x86_64-unknown-linux-gnu --features "${CARGO_FEATURES}"; diff --git a/ci/test.sh b/ci/test.sh index 544f6a50..6b0912c2 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -1,10 +1,7 @@ #! /bin/bash if [ -z NO_STD ]; then - cargo test --verbose ${CARGO_FEATURES}; - - if [ -z CARGO_FEATURES ]; then - export CARGO_FEATURE_SYSTEM_NETLIB=1 CARGO_FEATURE_EXCLUDE_LAPACKE=1 CARGO_FEATURE_EXCLUDE_CBLAS=1 - cd nalgebra-lapack; cargo test --verbose; - fi + cargo test --verbose; + cargo test --verbose "debug arbitrary mint serde-serialize abomonation-serialize"; + cd nalgebra-lapack; cargo test --verbose; fi \ No newline at end of file