From 557ee8f635874017b48da9aab9c3e6dac8f6a916 Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Mon, 25 Feb 2019 10:44:47 +0000 Subject: [PATCH] CI fix: do not test benches on stable --- .travis.yml | 21 ++------------------- appveyor.yml | 3 +-- 2 files changed, 3 insertions(+), 21 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9390732..4de7a3b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,30 +29,14 @@ matrix: install: - cargo --list | egrep "^\s*deadlinks$" -q || cargo install cargo-deadlinks - cargo deadlinks -V - before_script: - - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH script: - # Differs from standard script: alloc feature, all features, doc build - - cargo test --lib --no-default-features --features=alloc - - cargo test --all-features - - cargo test --benches --features=nightly + - cargo test + - cargo test --benches - cargo test --examples - - cargo test --manifest-path rand_core/Cargo.toml - - cargo test --manifest-path rand_core/Cargo.toml --no-default-features --features=alloc - - cargo test --manifest-path rand_isaac/Cargo.toml --features=serde1 - - cargo test --manifest-path rand_pcg/Cargo.toml --features=serde1 - - cargo test --manifest-path rand_xorshift/Cargo.toml --features=serde1 - - cargo test --manifest-path rand_xoshiro/Cargo.toml - - cargo test --manifest-path rand_chacha/Cargo.toml - - cargo test --manifest-path rand_hc/Cargo.toml - - cargo test --manifest-path rand_jitter/Cargo.toml - - cargo test --manifest-path rand_os/Cargo.toml # remove cached documentation, otherwise files from previous PRs can get included - rm -rf target/doc - cargo doc --no-deps --all --all-features - cargo deadlinks --dir target/doc - after_success: - - travis-cargo --only nightly doc-upload - rust: nightly os: osx @@ -143,7 +127,6 @@ before_install: script: - cargo test - - cargo test --benches - cargo test --examples after_script: set +e diff --git a/appveyor.yml b/appveyor.yml index e2dfc37..b318c8e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -24,7 +24,7 @@ environment: - TARGET: i686-pc-windows-msvc install: - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe - - rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly + - rustup-init.exe -y --default-host %TARGET% - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin - rustc -V - cargo -V @@ -33,5 +33,4 @@ build: false test_script: - cargo test - - cargo test --benches - cargo test --examples