From 28fb7961df68eeb8c7c6a59dadfeda5258e5ee1d Mon Sep 17 00:00:00 2001 From: Alexis Mousset Date: Wed, 14 Jun 2017 20:42:36 +0200 Subject: [PATCH] feat(all): Fix AppVeyor tests --- .appveyor.yml | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 7bcc952..524b3db 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,24 +1,15 @@ environment: - OPENSSL_INCLUDE_DIR: C:\OpenSSL\include - OPENSSL_LIB_DIR: C:\OpenSSL\lib - OPENSSL_LIBS: ssleay32:libeay32 matrix: + - TARGET: x86_64-pc-windows-msvc + - TARGET: i686-pc-windows-msvc + - TARGET: x86_64-pc-windows-gnu - TARGET: i686-pc-windows-gnu - BITS: 32 -# - TARGET: x86_64-pc-windows-msvc -# BITS: 64 - install: - - ps: Start-FileDownload "http://slproweb.com/download/Win${env:BITS}OpenSSL-1_0_2g.exe" - - Win%BITS%OpenSSL-1_0_2g.exe /SILENT /VERYSILENT /SP- /DIR="C:\OpenSSL" - - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-beta-${env:TARGET}.exe" - - rust-beta-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" - - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin - - SET PATH=%PATH%;C:\MinGW\bin - - rustc -V - - cargo -V - + - curl -sSf -o rustup-init.exe https://win.rustup.rs/ + - rustup-init.exe -y --default-host %TARGET% + - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin + - rustc -vV + - cargo -vV build: false - test_script: - - cargo build --verbose + - cargo test