-
Notifications
You must be signed in to change notification settings - Fork 5
/
appveyor.yml
49 lines (37 loc) · 1.12 KB
/
appveyor.yml
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
47
48
49
# What Python version is installed where:
# http://www.appveyor.com/docs/installed-software#python
environment:
matrix:
- PYTHON: "C:\\Python27"
TOX_ENV: "py27"
- PYTHON: "C:\\Python35"
TOX_ENV: "py35"
- PYTHON: "C:\\Python36"
TOX_ENV: "py36"
- PYTHON: "C:\\Python37"
TOX_ENV: "py37"
- PYTHON: "C:\\Python38"
TOX_ENV: "py38"
- PYTHON: "C:\\Python38"
TOX_ENV: "coverage"
init:
- "%PYTHON%/python -V"
- "%PYTHON%/python -c \"import struct;print( 8 * struct.calcsize(\'P\'))\""
install:
- "set \"PATH=C:\\Miniconda36-x64\\Scripts;%PATH%\""
- "conda --version"
- "%PYTHON%/Scripts/easy_install -U pip"
- "%PYTHON%/Scripts/pip install tox"
- "%PYTHON%/Scripts/pip install wheel"
build: false # Not a C# project, build stuff at the test step instead.
test_script:
- "%PYTHON%/Scripts/tox -e %TOX_ENV%"
after_test:
- "%PYTHON%/python setup.py bdist_wheel"
- ps: |
ls dist
$env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
bash codecov.sh
artifacts:
- path: dist\*