os:
- MinGW
install:
- cd ..
- ps: Start-FileDownload 'http://download.nanomsg.org/nanomsg-0.5-beta.zip'
- 7z x nanomsg-0.5-beta.zip
- cd nanomsg-0.5-beta
- cmake . && msbuild nanomsg.sln
- mv .\Debug .\.libs
- cd ..\nanomsg-rs
- ps: Start-FileDownload 'https://static.rust-lang.org/dist/rust-1.0.0-i686-pc-windows-gnu.msi'
- msiexec /i rust-1.0.0-i686-pc-windows-gnu.msi /passive /norestart
- SET PATH=%PATH%;C:\MinGW\bin
- SET PATH=%PATH%;C:\Program Files (x86)\Rust stable 1.0\bin
- gcc -v
- rustc -V
- cargo -V
build_script:
- cargo build
test_script:
- cargo test
- mv ../nanomsg-0.5-beta ./nanomsg-0.5-beta && cd nanomsg_sys
- cargo test