CI: don't use xargo when building with std.

This commit is contained in:
sebcrozet 2018-05-24 18:50:36 +02:00 committed by Sébastien Crozet
parent 8e542d6cc2
commit 17ce4a59a2
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#! /bin/bash
if [ -z NO_STD ]; then
if [ -z "$NO_STD" ]; then
cargo build --verbose;
cargo build --verbose --features "arbitrary";
cargo build --verbose --features "mint";
@ -10,6 +10,7 @@ if [ -z NO_STD ]; then
cargo build --verbose --features "debug";
cargo build --verbose --features "debug arbitrary mint serde-serialize abomonation-serialize";
else
rustup component add rust-src
cargo install xargo;
xargo build --verbose --no-default-features --target=x86_64-unknown-linux-gnu --features "${CARGO_FEATURES}";
fi

View File

@ -1,6 +1,6 @@
#! /bin/bash
if [ -z NO_STD ]; then
if [ -z "$NO_STD" ]; then
cargo test --verbose;
cargo test --verbose "debug arbitrary mint serde-serialize abomonation-serialize";
cd nalgebra-lapack; cargo test --verbose;