From 1e6cb8f6eedf3648e246d656728492ab87ea95d5 Mon Sep 17 00:00:00 2001 From: Forest Anderson Date: Tue, 23 Apr 2019 13:41:40 -0400 Subject: [PATCH] Basic Rust env Former-commit-id: 250a426c09589640ce255e5369038624ca037bb6 --- .gitlab-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 79e73e62ec..e6d3fcb0b0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,9 +10,12 @@ stages: rust-nightly: stage: build - image: rustlang/rust:nightly + image: ubuntu:latest script: - - cargo build --verbose + - apt-get update + - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly + - source /root/.cargo/bin:$PATH + - cargo build - cargo test --verbose allow_failure: false