certainly 1.7.0

The easiest way to create self-signed certificates. Ever.
environment:
  global:
    PROJECT_NAME: certainly
  matrix:
    - TARGET: x86_64-pc-windows-msvc
      CHANNEL: stable

# Not MSBuild
build: false

# Install Rust and Cargo
# (Based on from https://github.com/rust-lang/libc/blob/master/appveyor.yml)
install:
  - curl -sSf -o rustup-init.exe https://win.rustup.rs/
  - rustup-init.exe --default-host %TARGET% --default-toolchain %CHANNEL% -y
  - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
  - if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin
  - rustc -V
  - cargo -V

test_script:
  - cargo test --verbose

before_deploy:
  # Generate artifacts for release
  - cargo build --release
  - mkdir pack
  - copy target\release\certainly.exe pack
  - copy LICENSE pack\LICENSE.txt
  - cd pack
  - 7z a ../%PROJECT_NAME%-%APPVEYOR_REPO_TAG_NAME%-%TARGET%.zip *
  - appveyor PushArtifact ../%PROJECT_NAME%-%APPVEYOR_REPO_TAG_NAME%-%TARGET%.zip

deploy:
  description: 'Automatically deployed release'
  artifact: /.*\.zip/
  provider: GitHub
  auth_token:
    secure: jP1S47gz9OeAJArE2bpk5UhntrrMtLCVXEThEx+cUTvu48M1xsgF75aIFh4j8mAN
  on:
    appveyor_repo_tag: true