version: '{build}' os: - Visual Studio 2015 environment: GROONGA_INCLUDE_DIR: C:\Groonga\include GROONGA_BIN_DIR: C:\Groonga\bin GROONGA_LIB_DIR: C:\Groonga\lib matrix: # TODO: # - TARGET: x86_64-pc-windows-msvc # BITS: 64 # RUSTVER: 1.11.0 # GROONGAVER: 6.0.8 - TARGET: x86_64-pc-windows-gnu BITS: 64 RUSTVER: 1.11.0 GROONGAVER: 6.0.8 install: - ps: Start-FileDownload "http://packages.groonga.org/windows/groonga/groonga-${Env:GROONGAVER}-x64.exe" - groonga-%GROONGAVER%-x64.exe /S /D=C:\Groonga - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:RUSTVER}-${env:TARGET}.exe" - rust-%RUSTVER%-%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 build: false test_script: - cargo build # TODO: # - cargo test