Update ci with rust nightly only

This commit is contained in:
Thomas Payet 2019-05-02 11:43:45 +02:00
parent d7ce6d016b
commit 85edb3e90c
1 changed files with 2 additions and 9 deletions

View File

@ -1,11 +1,4 @@
---
resources:
containers:
- container: stable
image: rust
- container: nightly
image: rustlang/rust:nightly
trigger:
branches:
include: [ master ]
@ -19,7 +12,7 @@ jobs:
container: tpayet/chiquitita:latest
steps:
- script: |
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
displayName: 'Install rustc'
- script: |
$HOME/.cargo/bin/cargo check
@ -37,7 +30,7 @@ jobs:
container: tpayet/chiquitita:latest
steps:
- script: |
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
displayName: 'Install rustc'
- script: |
$HOME/.cargo/bin/cargo build --release