-
Notifications
You must be signed in to change notification settings - Fork 13
/
appveyor.yml
56 lines (47 loc) · 1.61 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
50
51
52
53
54
55
56
environment:
password:
secure: FTXC0Lbagq+isgXzs7VsYFIBJ1axTt2wgwCiwfhouSU=
matrix:
- PYTHON_VERSION: "2.7"
#- PYTHON_VERSION: "3.3"
- PYTHON_VERSION: "3.4"
#- PYTHON_VERSION: "3.5"
- PYTHON_VERSION: "3.6"
- PYTHON_VERSION: "3.7"
platform:
- x86
- x64
matrix:
fast_finish: false
install:
- set PATH=C:\Miniconda\Scripts
- ps: If ($env:Platform -Match "x64") {$env:PATH="C:\Miniconda-x64\Scripts"}
- set PATH=%PATH%;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda create -q --name python%PYTHON_VERSION% python=%PYTHON_VERSION%
- activate python%PYTHON_VERSION%
- conda install -q --name python%PYTHON_VERSION% setuptools wheel nose
#- pip install -q mando tstoolbox baker
#- python.exe setup.py config_fc
- python.exe setup.py config
- python.exe setup.py build
- python.exe setup.py install
build: off
test_script:
- nosetests
after_test:
# This step builds your wheels.
- python.exe setup.py bdist_wheel
artifacts:
# bdist_wheel puts your built wheel in the dist directory
- path: dist\*.whl
#on_success:
deploy_script:
- "echo [pypi] > %USERPROFILE%\\.pypirc"
- "echo username: assela >> %USERPROFILE%\\.pypirc"
- "echo password: %password% >> %USERPROFILE%\\.pypirc"
# - python setup.py bdist_wheel upload - this hangs!!
# You can use this step to upload your artifacts to a public website.
# See Appveyor's documentation for more details. Or you can simply
# access your wheels from the Appveyor "artifacts" tab for your build.