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