From 7840519ba9e1702d14a6bdae54e22d0a39d0d47a 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: 563aa620deb71fce91de02c91595044da108ff90 --- .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