blob: 5b40c481dd51b84789e9eb6052bad007337c57fd [file] [log] [blame]
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