Skip to content
Permalink
Browse files

Switch to beta toolchain

  • Loading branch information...
ZizhengTai committed Oct 3, 2019
1 parent 1b0a614 commit 7daa1e9f7e448cfce54cce09e328a336a90fa84c
Showing with 5 additions and 5 deletions.
  1. +5 −4 .cirrus.yml
  2. +0 −1 rust-toolchain
@@ -1,12 +1,13 @@
# Build and test against the version of Rust specified in `rust-toolchain`
test_template: &TEST_TEMPLATE
test_script: cargo test --all-features --all-targets --all
test_script: cargo test --all-targets --all-features --all

# Linux
task:
name: Test on Linux
container:
image: rust:latest
install_script:
- rustup default beta
rustfmt_script:
- rustup component add rustfmt
- cargo fmt --all -- --check
@@ -25,7 +26,7 @@ task:
PATH: $USERPROFILE\.cargo\bin;$PATH
install_script:
- curl -sSf -o rustup-init.exe https://win.rustup.rs
- rustup-init.exe -y --default-toolchain none
- rustup-init.exe -y --default-toolchain beta
<<: *TEST_TEMPLATE

# macOS and FreeBSD
@@ -39,7 +40,7 @@ task:
image: freebsd-12-0-release-amd64
env:
PATH: $HOME/.cargo/bin:$PATH
install_script: curl -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
install_script: curl -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain beta
<<: *TEST_TEMPLATE

# Audit `Cargo.lock` for dependencies with security vulnerabilities

This file was deleted.

0 comments on commit 7daa1e9

Please sign in to comment.
You can’t perform that action at this time.