2020-03-15 11:35:35 +00:00
|
|
|
language: rust
|
|
|
|
rust: stable
|
2020-04-03 09:25:54 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libssl-dev
|
|
|
|
|
2020-03-15 11:35:35 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
dist: bionic
|
|
|
|
|
|
|
|
- os: osx
|
2020-04-03 09:25:54 +00:00
|
|
|
- os: linux
|
|
|
|
name: Coverage
|
|
|
|
before_script:
|
|
|
|
- cargo install cargo-tarpaulin
|
|
|
|
script:
|
2020-04-03 09:49:18 +00:00
|
|
|
- cargo tarpaulin --features 'encryption sqlite-cryptostore' --out Xml
|
2020-04-03 09:25:54 +00:00
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
2020-03-15 11:35:35 +00:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- rustup component add rustfmt
|
|
|
|
|
|
|
|
script:
|
2020-03-28 10:50:59 +00:00
|
|
|
- cargo build --no-default-features --features 'encryption sqlite-cryptostore'
|
2020-03-15 11:43:11 +00:00
|
|
|
- cargo fmt --all -- --check
|
2020-03-28 10:50:59 +00:00
|
|
|
- cargo test --no-default-features --features 'encryption sqlite-cryptostore'
|