environment: matrix: - TARGET: 1.27.0-x86_64-pc-windows-msvc - TARGET: nightly-x86_64-pc-windows-msvc - TARGET: nightly-i686-pc-windows-msvc - TARGET: nightly-x86_64-pc-windows-gnu - TARGET: nightly-i686-pc-windows-gnu install: - ps: if (ls -r . -fi "*.rs" | sls "`t") { throw "Found tab character" } - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:TARGET}.exe" -FileName "rust-install.exe" - ps: .\rust-install.exe /VERYSILENT /NORESTART /DIR="C:\rust" | Out-Null - ps: $env:PATH="$env:PATH;C:\rust\bin" - rustc -vV - cargo -vV build_script: # Right now you need to use std if you're not on nightly. # I'm not sure how to make this script smart enough to do that. - cargo build # - cargo build --no-default-features - cargo build --examples - cargo build --release # - cargo build --release --no-default-features - cargo build --release --examples test_script: - cargo test # - cargo test --no-default-features --lib - cargo test --examples - cargo test --release # - cargo test --release --no-default-features --lib - cargo test --release --examples