From e1eccb18fd1f660fa2ff4abd650a8cebf89aac08 Mon Sep 17 00:00:00 2001 From: Imbris Date: Wed, 4 Sep 2019 01:13:18 -0400 Subject: [PATCH] Deny all wanings, only use check in CI --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 341c618e44..d9d83a2049 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -39,7 +39,7 @@ before_script: fi; ############# -# BUILD +# Build ############# build-voxygen: @@ -48,7 +48,7 @@ build-voxygen: tags: - veloren-docker script: - - (cd voxygen && cargo rustc -v -- -D warnings) + - (cd voxygen && RUSTFLAGS="-D warnings" cargo check) build-server-cli: stage: build @@ -56,7 +56,7 @@ build-server-cli: tags: - veloren-docker script: - - (cd server-cli && cargo rustc -v -- -D warnings) + - (cd server-cli && RUSTFLAGS="-D warnings" cargo check) ############# # TEST