Skip to content

Instantly share code, notes, and snippets.

@mustafa-travisci
Last active March 11, 2021 14:38
Show Gist options
  • Save mustafa-travisci/dad0c981c1ccdd4395fece773b30ed3d to your computer and use it in GitHub Desktop.
Save mustafa-travisci/dad0c981c1ccdd4395fece773b30ed3d to your computer and use it in GitHub Desktop.
Config of multiVersion-Rust and OS Matrix
---
language: rust
rust:
- stable
- beta
- nightly
os:
- linux
- windows
- osx
script:
- cargo build
- cargo doc --all-features --no-deps
- cargo test --release
- cargo test --release --no-default-features
- cargo test --release --all-features
jobs:
fast_finish: true
allow_failures:
- rust: nightly
- os: windows
include:
- os: linux
rust: "1.37.0"
script:
- cargo build --release
- cargo build --release --no-default-features
- cargo build --release --all-feature
- os: windows
rust: "1.37.0"
script:
- cargo build --release
- cargo build --release --no-default-features
- cargo build --release --all-feature
- os: osx
rust: "1.37.0"
script:
- cargo build --release
- cargo build --release --no-default-features
- cargo build --release --all-feature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment