2020-01-31 09:02:41 +00:00
|
|
|
os: linux
|
2015-03-01 20:46:46 +00:00
|
|
|
language: rust
|
2020-01-31 09:02:41 +00:00
|
|
|
cache: cargo
|
|
|
|
rust: stable
|
|
|
|
jobs:
|
|
|
|
allow_failures:
|
|
|
|
- rust: nightly
|
2020-01-31 10:25:32 +00:00
|
|
|
- env:
|
|
|
|
- SHARD=coverage
|
2020-01-31 09:02:41 +00:00
|
|
|
fast_finish: true
|
|
|
|
include:
|
|
|
|
- os: osx
|
2020-01-31 10:27:37 +00:00
|
|
|
- {}
|
|
|
|
- rust: 1.36.0
|
2020-01-31 09:02:41 +00:00
|
|
|
- rust: beta
|
|
|
|
- rust: nightly
|
|
|
|
- env:
|
|
|
|
- SHARD=lint
|
|
|
|
before_script:
|
|
|
|
- rustup component add clippy
|
|
|
|
- rustup component add rustfmt
|
|
|
|
script:
|
|
|
|
- echo "Checking codebase with Clippy release `cargo clippy --version`."
|
2020-01-31 10:27:37 +00:00
|
|
|
- cargo clippy --all --lib --features "yaml unstable" -- -D warnings
|
|
|
|
- cargo clippy --all --tests --examples --features "yaml unstable"
|
2020-01-31 09:02:41 +00:00
|
|
|
- cargo fmt -- --check
|
2020-01-31 10:27:37 +00:00
|
|
|
- rust: nightly
|
|
|
|
env:
|
2020-01-31 09:02:41 +00:00
|
|
|
- SHARD=bench
|
|
|
|
script:
|
|
|
|
- cargo bench
|
2020-01-31 10:25:32 +00:00
|
|
|
- env:
|
|
|
|
- SHARD=coverage
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libssl-dev
|
|
|
|
- cmake
|
|
|
|
- pkg-config
|
|
|
|
- zlib1g-dev
|
|
|
|
update: true
|
|
|
|
before_script:
|
|
|
|
- cargo install cargo-tarpaulin
|
|
|
|
script:
|
|
|
|
- cargo tarpaulin --workspace --features "yaml unstable" --ciserver travis-ci --coveralls $TRAVIS_JOB_ID
|
2015-04-28 01:39:17 +00:00
|
|
|
script:
|
2020-01-31 09:02:41 +00:00
|
|
|
- cargo test --all --no-default-features
|
2020-01-31 09:05:34 +00:00
|
|
|
- cargo test --all --features yaml unstable
|
2020-01-31 10:25:32 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|
2015-04-29 02:43:20 +00:00
|
|
|
env:
|
|
|
|
global:
|
2016-01-30 02:28:12 +00:00
|
|
|
- secure: JLBlgHY6OEmhJ8woewNJHmuBokTNUv7/WvLkJGV8xk0t6bXBwSU0jNloXwlH7FiQTc4TccX0PumPDD4MrMgxIAVFPmmmlQOCmdpYP4tqZJ8xo189E5zk8lKF5OyaVYCs5SMmFC3cxCsKjfwGIexNu3ck5Uhwe9jI0tqgkgM3URA=
|