aboutsummaryrefslogtreecommitdiffstats
path: root/appveyor.yml
blob: ff7122b41fb17d4938b402c1e27617cea95f444a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
environment:

  APPVEYOR: True
  CODECOV_ENV: APPVEYOR_JOB_NAME

  matrix:
    - APPVEYOR_JOB_NAME: "python35-x64"
      PYTHON: "C:\\Python35-x64"
    - APPVEYOR_JOB_NAME: "python27-x64"
      PYTHON: "C:\\Python27-x64"

install:
  # symlink python from a directory with a space
  - "mklink /d \"C:\\Program Files\\Python\" %PYTHON%"
  - "SET PYTHON=\"C:\\Program Files\\Python\""
  - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"

build: off

cache:
  - '%LOCALAPPDATA%\pip\Cache'

test_script:
  - "python bootstrap.py"
  - "python -m pip install tox"
  - "tox -- --cov"

after_test:
    - tox -e coverage,codecov

version: '{build}'