Added before script submodule

Former-commit-id: fa51f02b4ff4d1e5f671363fc3978065fe8c9970
This commit is contained in:
Forest Anderson 2019-04-23 14:38:54 -04:00
parent efe365c990
commit 66a6db7add

View File

@ -12,10 +12,13 @@ rust-nightly:
stage: build
image: ubuntu:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
GIT_SUBMODULE_STRATEGY: none
before-script:
- apt-get update
- apt-get install curl gcc -y
- apt-get install curl gcc git -y
- git submodule sync --recursive
- git submodule update --remote --recursive
script:
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
- source /root/.cargo/env
- cargo build