Skip to content

Commit 557ee8f

Browse files
committed
CI fix: do not test benches on stable
1 parent b6e859c commit 557ee8f

File tree

2 files changed

+3
-21
lines changed

2 files changed

+3
-21
lines changed

.travis.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -29,30 +29,14 @@ matrix:
2929
install:
3030
- cargo --list | egrep "^\s*deadlinks$" -q || cargo install cargo-deadlinks
3131
- cargo deadlinks -V
32-
before_script:
33-
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
3432
script:
35-
# Differs from standard script: alloc feature, all features, doc build
36-
- cargo test --lib --no-default-features --features=alloc
37-
- cargo test --all-features
38-
- cargo test --benches --features=nightly
33+
- cargo test
34+
- cargo test --benches
3935
- cargo test --examples
40-
- cargo test --manifest-path rand_core/Cargo.toml
41-
- cargo test --manifest-path rand_core/Cargo.toml --no-default-features --features=alloc
42-
- cargo test --manifest-path rand_isaac/Cargo.toml --features=serde1
43-
- cargo test --manifest-path rand_pcg/Cargo.toml --features=serde1
44-
- cargo test --manifest-path rand_xorshift/Cargo.toml --features=serde1
45-
- cargo test --manifest-path rand_xoshiro/Cargo.toml
46-
- cargo test --manifest-path rand_chacha/Cargo.toml
47-
- cargo test --manifest-path rand_hc/Cargo.toml
48-
- cargo test --manifest-path rand_jitter/Cargo.toml
49-
- cargo test --manifest-path rand_os/Cargo.toml
5036
# remove cached documentation, otherwise files from previous PRs can get included
5137
- rm -rf target/doc
5238
- cargo doc --no-deps --all --all-features
5339
- cargo deadlinks --dir target/doc
54-
after_success:
55-
- travis-cargo --only nightly doc-upload
5640

5741
- rust: nightly
5842
os: osx
@@ -143,7 +127,6 @@ before_install:
143127

144128
script:
145129
- cargo test
146-
- cargo test --benches
147130
- cargo test --examples
148131

149132
after_script: set +e

appveyor.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ environment:
2424
- TARGET: i686-pc-windows-msvc
2525
install:
2626
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
27-
- rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly
27+
- rustup-init.exe -y --default-host %TARGET%
2828
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
2929
- rustc -V
3030
- cargo -V
@@ -33,5 +33,4 @@ build: false
3333

3434
test_script:
3535
- cargo test
36-
- cargo test --benches
3736
- cargo test --examples

0 commit comments

Comments
 (0)