Update .gitlab-ci.yml

fix nightly test
- rustup default nightly
This commit is contained in:
Denis S. Soldatov aka General-Beck 2017-05-03 17:56:10 +03:00 committed by GitHub
parent 15c89a8fff
commit 8fdda2f5b7
1 changed files with 1 additions and 1 deletions

View File

@ -618,7 +618,7 @@ test-rust-nightly:
- git submodule update --init --recursive
- export RUST_FILES_MODIFIED=$(git --no-pager diff --name-only $CI_BUILD_REF^ $CI_BUILD_REF | grep -v -e ^js -e ^\\. -e ^LICENSE -e ^README.md -e ^appveyor.yml -e ^test.sh -e ^windows/ -e ^scripts/ -e^mac/ -e ^nsis/ | wc -l)
script:
- rustup default stable
- rustup default nightly
- export RUST_BACKTRACE=1
- if [ $RUST_FILES_MODIFIED -eq 0 ]; then echo "Skipping Rust tests since no Rust files modified."; else ./test.sh $CARGOFLAGS; fi
tags: