summaryrefslogtreecommitdiff
path: root/.appveyor.yml
blob: 6e65b09cc90078427b0c06fd1624d9cf35e975fc (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
32
33
34
35
36
37
38
39
build: false
environment:
  VENV: "%APPVEYOR_BUILD_FOLDER%\\venv"

  matrix:
    - TOXENV: py27-tests
      PYTHON: "C:\\Python27"

    - TOXENV: py27-tests
      PYTHON: "C:\\Python27-x64"

    - TOXENV: py35-tests
      PYTHON: "C:\\Python35"

    - TOXENV: py35-tests
      PYTHON: "C:\\Python35-x64"

    - TOXENV: py36-tests
      PYTHON: "C:\\Python36"

    - TOXENV: py36-tests
      PYTHON: "C:\\Python36-x64"

    - TOXENV: py37-tests
      PYTHON: "C:\\Python37"

    - TOXENV: py37-tests
      PYTHON: "C:\\Python37-x64"

init:
  - echo "TOXENV - %TOXENV%"

install:
  - ps: Update-AppveyorBuild -Version "v$(python setup.py --version) b$Env:APPVEYOR_BUILD_NUMBER"
  - virtualenv -p "%PYTHON%\\python.exe" "%VENV%"
  - "%VENV%\\Scripts\\pip install tox"

test_script:
  - "%VENV%\\Scripts\\tox"