From cfa99f2163a4c4358acc3afa38204fc2b5607df1 Mon Sep 17 00:00:00 2001 From: Forest Anderson Date: Tue, 23 Apr 2019 14:38:54 -0400 Subject: [PATCH] Added before script submodule Former-commit-id: b15b2da96fbc9f23cb2e38e21cd9f4966b154cbb --- .gitlab-ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 81a96793d3..fd440126ff 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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