forked from serde-rs/json
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (32 loc) · 1.07 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
language: rust
matrix:
include:
- rust: nightly
script:
- cargo test
- cargo test --features preserve_order
- cargo test --features arbitrary_precision
- cargo test --features raw_value
- cargo test --features unbounded_depth
- rust: 1.15.0
script:
# preserve_order is not supported on 1.15.0
- cargo build --manifest-path tests/crate/Cargo.toml
- cargo build --manifest-path tests/crate/Cargo.toml --features arbitrary_precision
- rust: 1.18.0
script:
- cargo build --manifest-path tests/crate/Cargo.toml
- cargo build --manifest-path tests/crate/Cargo.toml --features preserve_order
- cargo build --manifest-path tests/crate/Cargo.toml --features arbitrary_precision
- rust: stable
- rust: beta
- rust: 1.31.0
- rust: nightly
name: Clippy
script:
- rustup component add clippy || travis_terminate 0
- cargo clippy
script:
- cargo build
- cargo build --features preserve_order
- cargo build --features arbitrary_precision