Skip doc tests when testing without std

This commit is contained in:
David Tolnay 2019-05-01 19:20:15 -07:00
parent 6bc31f5ec8
commit b503c823e5
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
1 changed files with 1 additions and 1 deletions

View File

@ -22,5 +22,5 @@ script:
- cargo build --features "$FEATURES"
- cargo test --features "$FEATURES"
- cargo build --no-default-features --features "$FEATURES"
- cargo test --no-default-features --features "$FEATURES"
- cargo test --tests --no-default-features --features "$FEATURES"
- if [ "$BUILD_BENCH" == "true" ]; then cargo bench --no-run --features "$FEATURES"; fi