qair 0.2.0

qair shows a QR code (2D barcode) on the terminal to send a file to your smartphone.
# Continuous integration configuration
# Note: if you want to use this on (semi-)self-hosted, you probably need to set the URL of
#       this yaml file, see:
#       https://www.appveyor.com/docs/build-configuration/#generic-git-repositories-and-yaml

environment:
  matrix:
    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
      channel: stable
      target: i686-pc-windows-gnu
      cpuarch: i686
    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
      channel: stable
      target: x86_64-pc-windows-gnu
      cpuarch: x86_64
    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
      channel: stable
      target: x86_64-pc-windows-msvc
      cpuarch: x86_64
    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
      channel: stable
      target: i686-pc-windows-msvc
      cpuarch: i686

install:
  # Based on https://github.com/starkat99/appveyor-rust/blob/master/appveyor.yml
  - cmd: appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
  - cmd: rustup-init -yv --default-toolchain %channel% --default-host %target%
  - cmd: set PATH=%PATH%;%USERPROFILE%\.cargo\bin
  - rustc -vV
  - cargo -vV

build: off

test_script:
  - cargo test --release --verbose

build_script:
- cargo build --release --verbose
- mkdir qair
- copy target\release\qair.exe qair
- 7z a qair-windows-%cpuarch%.zip qair\qair.exe

artifacts:
- path: qair-windows-$(cpuarch).zip
  name: qair-windows-$(cpuarch).zip $(target)