Skip to content

Commit

Permalink
Run dockerized tests in release mode
Browse files Browse the repository at this point in the history
Avoids the need to build in both debug an release modes
  • Loading branch information
danstiner committed Sep 24, 2019
1 parent e47750b commit ad15610
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.debian
Expand Up @@ -42,7 +42,7 @@ RUN cargo install cargo-deb
COPY . /app
WORKDIR /app/linux

RUN cargo test
RUN cargo test --release

RUN mkdir -p dist/

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.fedora
Expand Up @@ -32,7 +32,7 @@ RUN set -eux; \
COPY . /app
WORKDIR /app/linux

RUN cargo test
RUN cargo test --release

RUN make rpm

Expand Down

0 comments on commit ad15610

Please sign in to comment.