language: rust
script: >
cargo build $CARGO_FLAGS --features "$CARGO_FEATURES"
&& cargo build $CARGO_FLAGS --features "$CARGO_FEATURES" --manifest-path enum_derive/Cargo.toml
&& cargo build $CARGO_FLAGS --features "$CARGO_FEATURES $CARGO_NEWTYPE_FEATURES" --manifest-path newtype_derive/Cargo.toml
&& cargo test $CARGO_FLAGS --features "$CARGO_FEATURES"
&& cargo test $CARGO_FLAGS --features "$CARGO_FEATURES" --manifest-path enum_derive/Cargo.toml
&& cargo test $CARGO_FLAGS --features "$CARGO_FEATURES $CARGO_NEWTYPE_FEATURES" --manifest-path newtype_derive/Cargo.toml
&& cargo run $CARGO_FLAGS --features "$CARGO_FEATURES $CARGO_DERIVE_NAME_TEST_FEATURES" --manifest-path tests/derive-name-test/Cargo.toml
rust:
- 1.2.0
- 1.3.0
- 1.4.0
- 1.5.0
- 1.6.0
- 1.7.0
- 1.8.0
- 1.9.0
- 1.10.0
- 1.11.0
- stable
- beta
- nightly
env:
- >
CARGO_FLAGS="--verbose --no-default-features"
CARGO_FEATURES=std
CARGO_NEWTYPE_FEATURES=
CARGO_DERIVE_NAME_TEST_FEATURES=
matrix:
allow_failures:
- rust: nightly
include:
- rust: stable
env: CARGO_FEATURES=
- rust: beta
env: CARGO_FEATURES=
- rust: nightly
env: CARGO_FEATURES=
- rust: nightly
env: CARGO_FEATURES=std CARGO_NEWTYPE_FEATURES=std-unstable CARGO_DERIVE_NAME_TEST_FEATURES=unstable-macros-1-1