1
0
Fork 0
mirror of https://github.com/romanz/electrs.git synced 2025-02-24 06:57:53 +01:00
electrs/.circleci/config.yml
2019-04-29 14:36:34 +03:00

31 lines
706 B
YAML

version: 2
jobs:
build:
docker:
- image: rust:1.34.0-slim
steps:
- checkout
- run:
name: Install Dependencies
command: |
apt-get update
apt-get install -y clang cmake libsnappy-dev
rustup component add rustfmt
rustup component add clippy
- run:
name: Format
command: cargo fmt --all -- --check
- run:
name: Check
command: cargo check --all
- run:
name: Clippy
command: cargo clippy --all
- run:
name: Build
command: cargo build --all
- run:
name: Test
command: cargo test --all