From 4f443b06a95df0b3c7b7dc7d345f25599396b258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Crozet=20S=C3=A9bastien?= Date: Tue, 10 Nov 2020 17:48:28 +0100 Subject: [PATCH 1/2] Delete old CI files. --- .travis.yml | 35 ----------------------------------- ci/build.sh | 28 ---------------------------- ci/test.sh | 14 -------------- 3 files changed, 77 deletions(-) delete mode 100644 .travis.yml delete mode 100755 ci/build.sh delete mode 100755 ci/test.sh diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 29de4010..00000000 --- a/.travis.yml +++ /dev/null @@ -1,35 +0,0 @@ -sudo: false -language: rust -rust: - - nightly - - beta - - stable - -env: - - - - LAPACK=1 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" - -addons: - apt: - packages: - - gfortran - - libblas-dev - - liblapack-dev -script: - - rustc --version - - cargo --version - - ./ci/build.sh - - ./ci/test.sh - -matrix: - exclude: - - rust: stable - env: NO_STD=1 CARGO_FEATURES="" - - rust: beta - env: NO_STD=1 CARGO_FEATURES="" - - rust: stable - env: NO_STD=1 CARGO_FEATURES="alloc" - - rust: beta - env: NO_STD=1 CARGO_FEATURES="alloc" diff --git a/ci/build.sh b/ci/build.sh deleted file mode 100755 index 07a2e155..00000000 --- a/ci/build.sh +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/bash - -set -ev - -if [ -z "$NO_STD" ]; then - if [ -z "$LAPACK" ]; then - cargo build --verbose -p nalgebra; - cargo build --verbose -p nalgebra --features "arbitrary"; - cargo build --verbose -p nalgebra --features "mint"; - cargo build --verbose -p nalgebra --features "alloc"; - cargo build --verbose -p nalgebra --features "serde-serialize"; - cargo build --verbose -p nalgebra --features "abomonation-serialize"; - cargo build --verbose -p nalgebra --features "debug"; - cargo build --verbose -p nalgebra --all-features - else - cargo build --manifest-path nalgebra-lapack/Cargo.toml --features "netlib" --no-default-features; - fi -else - if [ "$CARGO_FEATURES" == "alloc" ]; then - cat << EOF > Xargo.toml -[target.x86_64-unknown-linux-gnu.dependencies] -alloc = {} -EOF - fi - rustup component add rust-src - cargo install xargo - xargo build --verbose --no-default-features --target=x86_64-unknown-linux-gnu --features "${CARGO_FEATURES}"; -fi diff --git a/ci/test.sh b/ci/test.sh deleted file mode 100755 index 04b298f2..00000000 --- a/ci/test.sh +++ /dev/null @@ -1,14 +0,0 @@ -#! /bin/bash - -set -ev - -if [ -z "$NO_STD" ]; then - if [ -z "$LAPACK" ]; then - cargo test --verbose; - cargo test --verbose "arbitrary"; - cargo test --verbose --all-features; - cd nalgebra-glm; cargo test --verbose; - else - cd nalgebra-lapack; cargo test --features "netlib" --no-default-features --verbose; - fi -fi From 32bc621abe90c13ea52e5c69331cda7b609e5ab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Crozet=20S=C3=A9bastien?= Date: Sun, 15 Nov 2020 17:40:56 +0100 Subject: [PATCH 2/2] Fix CI badge on README. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 72d058b5..db031e00 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ - - Build status + + Build status crates.io