Added submodule properly

Former-commit-id: 7773a1ec2d670043cc26c6b154d2b848c15ebc2b
This commit is contained in:
Forest Anderson 2019-04-23 14:08:34 -04:00
parent 91223ef41a
commit efe365c990

View File

@ -11,12 +11,13 @@ stages:
rust-nightly:
stage: build
image: ubuntu:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- apt-get update
- apt-get install curl git gcc -y
- apt-get install curl gcc -y
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
- source /root/.cargo/env
- git submodule update --init --recursive
- cargo build
- cargo test --verbose
allow_failure: false