Basic Rust env

Former-commit-id: 250a426c09589640ce255e5369038624ca037bb6
This commit is contained in:
Forest Anderson 2019-04-23 13:41:40 -04:00 committed by Forest
parent db27d42e64
commit 1e6cb8f6ee

View File

@ -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