From dc8e879eda73a148a1bb0fe0de85fbec7ccaf617 Mon Sep 17 00:00:00 2001 From: Luke Anderson Date: Mon, 6 May 2019 19:47:41 +1000 Subject: [PATCH] Moved the GitLab format check up in priority. --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c48a765beb..1a12d35c45 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,6 +16,11 @@ before_script: - apt-get install -o dir::cache::archives="$APT_CACHE_DIR" -y clang libclang-dev cmake build-essential git unzip autoconf libtool - git clone https://github.com/google/protobuf.git && cd protobuf && ./autogen.sh && ./configure && make && make install && ldconfig && make clean && cd .. && rm -r protobuf +check-fmt: + stage: test + script: + - cargo fmt --all -- --check + test-dev: stage: test script: @@ -26,11 +31,6 @@ test-release: script: - cargo test --verbose --all --release -check-fmt: - stage: test - script: - - cargo fmt --all -- --check - pages: stage: doc script: