summaryrefslogtreecommitdiff
path: root/.appveyor.yml
blob: fd2e57c362f9dff59c5b02e25fb4b4fd5dd942f3 (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
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"
    # 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"