Added before script submodule

Former-commit-id: b15b2da96fbc9f23cb2e38e21cd9f4966b154cbb
This commit is contained in:
Forest Anderson 2019-04-23 14:38:54 -04:00 committed by Forest
parent c527b6f7e2
commit cfa99f2163

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