summaryrefslogtreecommitdiff
path: root/appveyor.yml
blob: 53ee1b9990c8c2c31b9e08d753e2c3abefe28d41 (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
build: false  # Not a C# project

only_commits: # we only run tests here, so only trigger if we modify the source files or the config
  files:
  - src/**/*
  - tests/**/*
  - appveyor.yml
  - setup.py
  - tox.ini
  - pyproject.toml
  - MANIFEST.in
  - setup.cfg
  - .travis.yml
  - CHANGELOG.rst
  # this final one acts as proxy for release commits

environment:
  matrix:
  - TOXENV: py27
  - TOXENV: py34
  - TOXENV: py35
  - TOXENV: py36

matrix:
  fast_finish: true

install:
- C:\Python36\python -m pip install --pre -U tox

test_script:
- C:\Python36\scripts\tox

after_test:
- C:\Python36\scripts\tox -e coverage,codecov

cache:
- '%LOCALAPPDATA%\pip\cache'
- '%USERPROFILE%\.cache\pre-commit'