Merge pull request #654 from retep998/appveyor

Improve appveyor ci
This commit is contained in:
Sean McArthur
2015-09-09 22:23:01 -07:00
2 changed files with 15 additions and 21 deletions

View File

@@ -1,23 +1,15 @@
environment: environment:
CARGO_TARGET: x86_64-pc-windows-gnu matrix:
matrix: - TARGET: x86_64-pc-windows-msvc
- TARGET: x86_64-pc-windows-msvc - TARGET: i686-pc-windows-msvc
- TARGET: i686-pc-windows-gnu - TARGET: x86_64-pc-windows-gnu
- TARGET: i686-pc-windows-gnu
install: install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rustc-nightly-${env:TARGET}.tar.gz" - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe" -FileName "rust-nightly.exe"
- ps: Start-FileDownload "https://static.rust-lang.org/cargo-dist/cargo-nightly-${env:CARGO_TARGET}.tar.gz" - ps: .\rust-nightly.exe /VERYSILENT /NORESTART /DIR="C:\rust" | Out-Null
- 7z x rustc-nightly-%TARGET%.tar.gz > nul - ps: $env:PATH="$env:PATH;C:\rust\bin"
- 7z x rustc-nightly-%TARGET%.tar > nul - rustc -vV
- 7z x cargo-nightly-%CARGO_TARGET%.tar.gz > nul - cargo -vV
- 7z x cargo-nightly-%CARGO_TARGET%.tar > nul
- call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64
- set PATH=%PATH%;%cd%/rustc-nightly-%TARGET%/rustc/bin
- set PATH=%PATH%;%cd%/cargo-nightly-%CARGO_TARGET%/cargo/bin
- SET PATH=%PATH%;C:\MinGW\bin
- rustc -V
- cargo -V
build: false build: false
test_script: test_script:
- cargo test --verbose --no-default-features - cargo test --verbose --no-default-features

View File

@@ -200,13 +200,15 @@ mod tests {
} }
#[test] #[test]
#[should_panic] #[should_panic] // FIXME - 32-bit msvc unwinding broken
#[cfg_attr(all(target_arch="x86", target_env="msvc"), ignore)]
fn test_quality_invalid() { fn test_quality_invalid() {
q(-1.0); q(-1.0);
} }
#[test] #[test]
#[should_panic] #[should_panic] // FIXME - 32-bit msvc unwinding broken
#[cfg_attr(all(target_arch="x86", target_env="msvc"), ignore)]
fn test_quality_invalid2() { fn test_quality_invalid2() {
q(2.0); q(2.0);
} }