summaryrefslogtreecommitdiff
path: root/.appveyor.yml
blob: 844d0a514ce0141b761f4d1e5316e08c4a568324 (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
40
41
42
43
44
45
46
build: false
environment:
  VENV: "%APPVEYOR_BUILD_FOLDER%\\venv"

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

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

    - TOXENV: py34-tests
      PYTHON: "C:\\Python34"

    - TOXENV: py34-tests
      PYTHON: "C:\\Python34-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"
    # Twisted currently failing to install.
    #
    # - 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"