Merge pull request #149 from meilisearch/ci-only-nightly

Update ci with rust nightly only
This commit is contained in:
Clément Renault 2019-05-02 15:43:53 +02:00 committed by GitHub
commit f68733bf11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,4 @@
--- ---
resources:
containers:
- container: stable
image: rust
- container: nightly
image: rustlang/rust:nightly
trigger: trigger:
branches: branches:
include: [ master ] include: [ master ]
@ -19,7 +12,7 @@ jobs:
container: tpayet/chiquitita:latest container: tpayet/chiquitita:latest
steps: steps:
- script: | - 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' displayName: 'Install rustc'
- script: | - script: |
$HOME/.cargo/bin/cargo check $HOME/.cargo/bin/cargo check
@ -37,7 +30,7 @@ jobs:
container: tpayet/chiquitita:latest container: tpayet/chiquitita:latest
steps: steps:
- script: | - 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' displayName: 'Install rustc'
- script: | - script: |
$HOME/.cargo/bin/cargo build --release $HOME/.cargo/bin/cargo build --release