From 9e77534e3326c48ad4114e088921532b9c7f37af Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Wed, 15 Sep 2021 17:50:09 +0300 Subject: [PATCH] Use docker only for integration tests Run clippy/fmt/unittests separately. --- Dockerfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index f58002d..2ee262a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,15 +2,10 @@ FROM rust:1.41.1-slim as electrs-build RUN apt-get update RUN apt-get install -qq -y clang cmake -RUN rustup component add rustfmt clippy -# Build, test and install electrs +# Install electrs WORKDIR /build/electrs COPY . . -RUN cargo fmt -- --check -RUN cargo clippy -RUN cargo build --locked --release --all -RUN cargo test --locked --release --all RUN cargo install --locked --path . FROM debian:buster-slim as updated