-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.appveyor.yml
49 lines (42 loc) · 1.14 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
version: '{branch}-{build}'
branches:
only:
- master
clone_depth: 5
# Build on 32-bit and 64-bit Pythons 3.4-3.6
environment:
matrix:
# - PYTHON: C:\Python34
# - PYTHON: C:\Python34-x64
# DISTUTILS_USE_SDK: 1
- PYTHON: C:\Python35
- PYTHON: C:\Python35-x64
- PYTHON: C:\Python36
- PYTHON: C:\Python36-x64
PYPI_PASS:
secure: ZIDMfSb4e2MNrQPv4jbGTAXjIpHUFHY6XEw9fD61N2A=
matrix:
fast_finish: true
# Install wheel for building and nose for tests
install:
- cmd: >-
%PYTHON%\\python.exe -m pip install wheel
%PYTHON%\\python.exe -m pip install nose
# Build wheels
build_script:
- cmd: appveyor\\py34_compat.cmd %PYTHON%\\python.exe setup.py bdist_wheel
# Install the wheel & test it with nose
test_script:
- cmd: >-
cd dist\
%PYTHON%\\python.exe -m pip install nescient --no-index -f .
%PYTHON%\\python.exe -m nose nescient -v
cd ..
# Install twine for uploading and list wheels
before_deploy:
- cmd: >-
%PYTHON%\\python.exe -m pip install twine
dir dist\ /b /a-d
# Deploy to PyPI
deploy_script:
- cmd: appveyor\\appveyor_deploy.cmd