-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
41 lines (41 loc) · 1.31 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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