Skip to content

Commit 509c167

Browse files
tormolThomas Bahn
authored andcommitted
Test optional dependencies on Travis
1 parent 8db4597 commit 509c167

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ before_script:
1414
1515
script:
1616
- |
17-
travis-cargo build &&
17+
travis-cargo test -- --no-default-features &&
1818
travis-cargo test &&
19-
travis-cargo build -- --no-default-features &&
20-
travis-cargo test -- --no-default-features
19+
travis-cargo test -- --all-features &&
20+
rm Cargo.lock &&
21+
# no version of quickcheck compiles with -Z minimal-versions, but serde does
22+
travis-cargo --only nightly build -- -Z minimal-versions --features 'serde serde-test'
2123
2224
after_success:
2325
- |

0 commit comments

Comments
 (0)