Commit 6a1d8278 authored by Arthur Carlsson's avatar Arthur Carlsson

Added rustfmt to gitlab ci

parent bd0a9b40
Pipeline #15866927 failed with stage
in 3 minutes and 4 seconds
......@@ -13,12 +13,13 @@ image: "scorpil/rust:stable"
# Optional: Install a C compiler, cmake and git into the container.
# You will often need this when you (or any of your dependencies) depends on C code.
#- apt-get update -yqq
#- apt-get install -yqq --no-install-recommends build-essential
- rustup install nightly
- cargo +nightly install rustfmt-nightly
# Use cargo to test the project
- rustc --version && cargo --version # Print version info for debugging
- cargo +nightly fmt -- --write-mode=diff # Make sure format is OK
- cargo test --verbose --jobs 1 --release # Don't paralize to make errors more readable
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment