Update gitlab-ci

Add Global ENV RUSTFLAGS="-D warnings"
This commit is contained in:
Denis S. Soldatov aka General-Beck 2016-10-25 03:31:22 +07:00 committed by GitHub
parent 0fedc27332
commit df23c9931c

View File

@ -5,6 +5,7 @@ variables:
GIT_DEPTH: "3"
SIMPLECOV: "true"
RUST_BACKTRACE: "1"
RUSTFLAGS: "-D warnings"
cache:
key: "$CI_BUILD_NAME/$CI_BUILD_REF_NAME"
untracked: true
@ -260,7 +261,7 @@ windows:
- set INCLUDE=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include;C:\vs2015\VC\include;C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt
- set LIB=C:\vs2015\VC\lib;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10240.0\ucrt\x64
- set RUST_BACKTRACE=1
- set RUSTFLAGS=%RUSTFLAGS% -Zorbit=off -D warnings
- set RUSTFLAGS="-Zorbit=off -D warnings"
- rustup default stable-x86_64-pc-windows-msvc
- git submodule update --init
- cargo build --release --verbose