blob: d5d3b9bc1d71ae699ea92abfd6d21dd09eed84a6 [file] [log] [blame]
language: rust
matrix:
include:
- rust: nightly
script:
- cargo build
- cargo build --manifest-path tests/deps/Cargo.toml
- cargo test
- cargo test --features preserve_order
- cargo test --features arbitrary_precision
- cargo test --features raw_value
- rust: 1.15.0
script:
# preserve_order is not supported on 1.15.0
- cargo build
- cargo build --features arbitrary_precision
- rust: stable
- rust: beta
- rust: 1.18.0
- rust: nightly
env: CLIPPY
script:
- rustup component add clippy-preview || travis_terminate 0
- cargo clippy -- -Dclippy
script:
- cargo build
- cargo build --features preserve_order
- cargo build --features arbitrary_precision