matrix-rust-sdk/.travis.yml

29 lines
663 B
YAML

language: rust
rust: stable
addons:
apt:
packages:
- libssl-dev
jobs:
include:
- os: linux
dist: bionic
- os: osx
- os: linux
name: Coverage
before_script:
- cargo install cargo-tarpaulin
script:
- cargo tarpaulin --features 'encryption sqlite-cryptostore' --out Xml
after_success:
- bash <(curl -s https://codecov.io/bash)
before_script:
- rustup component add rustfmt
script:
- cargo build --no-default-features --features 'encryption sqlite-cryptostore'
- cargo fmt --all -- --check
- cargo test --no-default-features --features 'encryption sqlite-cryptostore'