diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1843c91421..809a8587dc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,6 +33,7 @@ before_script: - git lfs fetch; - git lfs checkout; - git status + - rustup -v show - if [ -d target ]; then ls -la target; fi; @@ -102,14 +103,15 @@ clean-code: # - cargo tarpaulin --all # allow_failure: true +# For now, Clippy will just care about performance improvements as much of the +# codebase is not in a place that cleaning warnings will be benificial clippy: stage: post-build image: registry.gitlab.com/veloren/veloren-docker-ci tags: - veloren-docker script: - - cargo clippy --all -- -D clippy || echo "This job is disabled, because we are not activly using it now, so we dont want to see yellow failed partly" - allow_failure: true + - cargo clippy -- -W clippy::all ############# # Commit build diff --git a/rust-toolchain b/rust-toolchain index bf867e0ae5..05f8d76601 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly +nightly-2019-07-03