add circleci

This commit is contained in:
Georgios Konstantopoulos 2020-05-24 21:58:01 +03:00
parent a9570f0ac1
commit e28d34e996
No known key found for this signature in database
GPG Key ID: FA607837CD26EDBC
1 changed files with 22 additions and 0 deletions

22
.circleci/config.yml Normal file
View File

@ -0,0 +1,22 @@
version: 2
jobs:
build:
docker:
- image: circleci/rust:latest
steps:
- checkout
- run:
name: Install Dependencies
command: |
cargo install cargo-audit
rustup component add clippy
- run: cargo test --all
- run:
name: Check style
command: |
cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings
- run:
name: Audit Dependencies
command: cargo audit