reduce number of times examples are tested in CI

This commit is contained in:
Trevor Spiteri 2019-08-20 16:46:39 +02:00
parent fa271a4a9d
commit 184eaddfc0
2 changed files with 5 additions and 5 deletions

View File

@ -37,7 +37,7 @@ test_script:
- cargo +beta-%TARGET% check --all-targets --features fail-on-warnings
- cargo +beta-%TARGET% test --release --features "fail-on-warnings f16 serde"
- cargo +beta-%TARGET% fmt -- --check
- cargo +1.34.2-%TARGET% test --features "fail-on-warnings f16 serde"
- cargo +1.34.2-%TARGET% test --lib --features "fail-on-warnings f16 serde"
after_test:
- C:\msys64\usr\bin\bash -c "if [ -d ""$USERPROFILE/.cargo/registry/cache"" ]; then cd ""$USERPROFILE/.cargo/registry""; /c/msys64/usr/bin/find cache -name \*.crate; fi"

View File

@ -35,8 +35,8 @@ x86_64-gnulinux:
- cargo +beta-$TARGET test --features "fail-on-warnings f16 serde"
- cargo +beta-$TARGET test --release --features "fail-on-warnings f16 serde"
- cargo +beta-$TARGET fmt -- --check
- cargo +1.34.2-$TARGET test --features "fail-on-warnings f16 serde"
- cargo +1.34.2-$TARGET test --release --features "fail-on-warnings f16 serde"
- cargo +1.34.2-$TARGET test --lib --features "fail-on-warnings f16 serde"
- cargo +1.34.2-$TARGET test --release --lib --features "fail-on-warnings f16 serde"
i686-gnulinux:
image: i386/rust:1
@ -54,5 +54,5 @@ i686-gnulinux:
- cargo +beta-$TARGET test --features "fail-on-warnings f16 serde"
- cargo +beta-$TARGET test --release --features "fail-on-warnings f16 serde"
- cargo +beta-$TARGET fmt -- --check
- cargo +1.34.2-$TARGET test --features "fail-on-warnings f16 serde"
- cargo +1.34.2-$TARGET test --release --features "fail-on-warnings f16 serde"
- cargo +1.34.2-$TARGET test --lib --features "fail-on-warnings f16 serde"
- cargo +1.34.2-$TARGET test --release --lib --features "fail-on-warnings f16 serde"