From 1276a2812e8f9c811dbff96e9dd6f04a30f6813a Mon Sep 17 00:00:00 2001 From: Luke Anderson Date: Mon, 6 May 2019 19:45:30 +1000 Subject: [PATCH] Included new jobs in the gitlab test stage, to get testing to run in parallel. --- .gitlab-ci.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a5d845165..c48a765be 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,12 +16,20 @@ 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 -test: +test-dev: stage: test script: - - rustc --version - - cargo --version - - cargo test --verbose + - cargo test --verbose --all + +test-release: + stage: test + script: + - cargo test --verbose --all --release + +check-fmt: + stage: test + script: + - cargo fmt --all -- --check pages: stage: doc