graphannis 0.21.1

This is a prototype for a new backend implementation of the ANNIS linguistic search and visualization system.
Documentation
# Based on the "trust" template v0.1.2
# https://github.com/japaric/trust/tree/v0.1.2

# Building is done in the test phase, so we disable Appveyor's build phase.
build: false

# More concurrency, especially when both the release tag and the new develop branch are build
max_jobs: 3

environment:
  global:
  # TODO This is the Rust channel that build jobs will use by default but can be
  # overridden on a case by case basis down below
    RUST_VERSION: stable

    # TODO Update this to match the name of your project.
    CRATE_NAME: graphannis

  # TODO These are all the build jobs. Adjust as necessary. Comment out what you
  # don't need
  matrix:
    # MSVC
    - TARGET: x86_64-pc-windows-msvc

install:
  - ps: >-
      If ($Env:TARGET -eq 'x86_64-pc-windows-gnu') {
        $Env:PATH += ';C:\msys64\mingw64\bin'
      } ElseIf ($Env:TARGET -eq 'i686-pc-windows-gnu') {
        $Env:PATH += ';C:\msys64\mingw32\bin'
      }
  - appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
  - rustup-init.exe -y --default-host %TARGET% --default-toolchain %RUST_VERSION%
  - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
  - rustc -Vv
  - cargo -V

# TODO This is the "test phase", tweak it as you see fit
test_script:
  - cargo build --target %TARGET% --release --features "c-api cli"
  - appveyor-retry appveyor DownloadFile https://github.com/amir-zeldes/gum/archive/f8ac9944fae39ae37c4db186304e3c1ab41f77f3.zip -FileName gum.zip
  - 7z e gum.zip -orelannis\GUM -aoa
  - appveyor-retry appveyor DownloadFile http://angcl.ling.uni-potsdam.de/resources/pcc2.1_annis.zip -FileName pcc21.zip
  - 7z e pcc21.zip -orelannis\pcc2.1 -aoa
  - IF NOT EXIST data\GUM target\%TARGET%\release\annis.exe data --cmd "import relannis/GUM"
  - IF NOT EXIST data\pcc2.1 target\%TARGET%\release\annis.exe data --cmd "import relannis/pcc2.1"
  - cargo test --target %TARGET% --release
  - cargo test --target %TARGET% --release -- --ignored
  

build_script:
  # TODO Update this to build the artifacts that matter to you
  - cargo build --target %TARGET% --release --features "c-api"

artifacts:
  - path: target\$(TARGET)\release\graphannis.dll
    name: graphannis.dll

deploy:
  artifact: graphannis.dll
  tag: $(APPVEYOR_REPO_TAG_NAME)
  # TODO update `auth_token.secure`
  # - Create a `public_repo` GitHub token. Go to: https://github.com/settings/tokens/new
  # - Encrypt it. Go to https://ci.appveyor.com/tools/encrypt
  # - Paste the output down here
  auth_token:
    secure: zmvMxlwpu6ZdXYp4Q1h2sj1Vzcf2TUkkrf9sJAdezJ/wD2IRYvFsjRm7slLdati9
  description: ''
  draft: true
  on:
    # TODO Here you can pick which targets will generate binary releases
    RUST_VERSION: stable
    appveyor_repo_tag: true
  provider: GitHub

cache:
  - C:\Users\appveyor\.cargo
  - target
  - data

branches:
  only:
    # Release tags
    - /^v\d+\.\d+\.\d+.*$/
     # Develop branch
    - develop
    
notifications:
  - provider: Email
    on_build_success: false