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