18 - rust: 1.26.0 # lock down for consistent rustfmt behavior
21 - rustup component add rustfmt-preview
23 - cargo fmt -- --write-mode=diff
29 - cargo build --verbose --all
30 # - cargo run --verbose --example XYZ
31 # - cargo test --verbose --features "test" --all
32 - cargo test --verbose --all
35 if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
36 bash <(curl https://raw.githubusercontent.com/xd009642/tarpaulin/master/travis-install.sh)
37 # Uncomment the following two lines create and upload a report for codecov.io
38 cargo tarpaulin --out Xml
39 bash <(curl -s https://codecov.io/bash)