Test various combinations of features.

This commit is contained in:
whitequark 2017-01-22 19:56:57 +00:00
parent 34d32f67a2
commit 20e7ba7cf3
1 changed files with 15 additions and 4 deletions

View File

@ -1,11 +1,22 @@
language: rust
rust:
- stable
- beta
- nightly
matrix:
include:
- rust: stable
env: FEATURES='use_std'
- rust: beta
env: FEATURES='use_std'
- rust: nightly
env: FEATURES='use_std'
- rust: nightly
env: FEATURES='use_std use_log'
- rust: nightly
env: FEATURES='use_alloc use_collections'
- rust: nightly
env: FEATURES=''
allow_failures:
- rust: stable # until 1.15 comes out
script:
- cargo build --no-default-features --features "$FEATURES"
notifications:
irc:
channels: