Included new jobs in the gitlab test stage, to get testing to run in parallel.

This commit is contained in:
Luke Anderson 2019-05-06 19:45:30 +10:00
parent 3b1d8fbab8
commit 1276a2812e
No known key found for this signature in database
GPG Key ID: 44408169EC61E228

View File

@ -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