summaryrefslogtreecommitdiff
path: root/.appveyor.yaml
blob: e08d926c04bc3b3a0cc2bceb5a2bf3571584e130 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
environment:
  matrix:
    - PYTHON_HOME: C:\Python26
#    - PYTHON: C:\Python266
#      PYTHON_VERSION: '2.6.6'
#      PYTHON_ARCH: '32'
    - PYTHON: C:\Python27
#    - PYTHON: C:\Python33
#    - PYTHON: C:\Python34
#    - PYTHON: C:\Python35
#    - PYTHON: C:\Python266-x64
#    - PYTHON: C:\Python27-x64
#    - PYTHON: C:\Python33-x64
#      DISTUTILS_USE_SDK: '1'
#    - PYTHON: 'C:\Python34-x64'
#      DISTUTILS_USE_SDK: '1'
#    - PYTHON: 'C:\Python35-x64'

install:
  - IF [%PYTHON_HOME%]==[C:\Python26] appveyor DownloadFile https://www.python.org/ftp/python/2.6.6/python-2.6.6.msi
  - IF [%PYTHON_HOME%]==[C:\Python26] msiexec /i python-2.6.6.msi /qn
  - SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
  - python.exe -c "import sys, os; print sys.executable"
  - '%PYTHON%\python.exe -c "import sys, os; print sys.executable"'
  - |
    %PYTHON%\python.exe -c "import sys, os; print sys.executable"
  - >
    %PYTHON%\python.exe -c "import sys, os; print sys.executable"
  - >
    %PYTHON%\python.exe -c "import sys, os;
    os.system('%s -c \"print True\"'
    % sys.executable)"
  - >
    if sys.version_info < (2, 7) else True"
    %PYTHON%\python.exe -c "import sys, os;
    os.system('%s -c \"print True\"'
    % sys.executable)
    if sys.version_info < (2, 7) else True"
  - >
    %PYTHON%\python.exe -c "import sys, os;
    os.system('%s -c \"import urllib2; open(\'c:\\get-pip.py\', \'w\').
    write(urllib2.urlopen(\'https://bootstrap.pypa.io/get-pip.py\').read())\"'
    % sys.executable)
    if sys.version_info < (2, 7) else True"
  - >
    %PYTHON%\python.exe -c "import sys, os;
    os.system('%s c:\get-pip.py' % sys.executable)
    if sys.version_info < (2, 7) else True"
  - '%PYTHON%\python.exe -m pip install wheel'

build: off

test_script:
  - echo Skipped for now

after_test:
  - '%PYTHON%\python.exe setup.py bdist_wheel'

artifacts:
  # bdist_wheel puts your built wheel in the dist directory
  - path: dist\*