1
0
Fork 0
mirror of https://github.com/romanz/electrs.git synced 2025-02-23 14:50:45 +01:00

Add CircleCI support

This commit is contained in:
Roman Zeyde 2019-03-08 20:23:58 +02:00
parent f4605069b9
commit b84745e146
No known key found for this signature in database
GPG key ID: 87CAE5FA46917CBB

31
.circleci/config.yml Normal file
View file

@ -0,0 +1,31 @@
version: 2
jobs:
build:
docker:
- image: rust:1.33.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