FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pythonnet/appveyor.yml at master · fdanny/pythonnet · GitHub
fdanny
pythonnet
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pythonnet
/
appveyor.yml
Copy path
More file actions
More file actions
Latest commit
History
History
History
89 lines (71 loc) · 2.54 KB
Breadcrumbs
pythonnet
/
appveyor.yml
Copy path
File metadata and controls
89 lines (71 loc) · 2.54 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
os
:
Windows Server 2012
matrix
:
fast_finish
:
true
environment
:
global
:
PYTHONPATH
:
c:\testdir
PYTHONWARNINGS
:
'
ignore:::pip.pep425tags:
'
CONDA_BLD_VERSION
:
"
3.5
"
#
SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
#
/E:ON and /V:ON options are not enabled in the batch script intepreter
#
See: http://stackoverflow.com/a/13751649/163740
CMD_IN_ENV
:
"
cmd /E:ON /V:ON /C .
\\
ci
\\
run_with_env.cmd
"
matrix
:
#
http://www.appveyor.com/docs/installed-software#python
-
PYTHON
:
"
C:
\\
Python27
"
CONDA_PY
:
"
27
"
CONDA_BLD
:
"
C:
\\
miniconda-32
"
CONDA_BLD_ARCH
:
"
32
"
-
PYTHON
:
"
C:
\\
Python27-x64
"
CONDA_PY
:
"
27
"
CONDA_BLD
:
"
C:
\\
miniconda-64
"
CONDA_BLD_ARCH
:
"
64
"
-
PYTHON
:
"
C:
\\
Python33
"
CONDA_PY
:
"
33
"
CONDA_BLD
:
"
C:
\\
miniconda-32
"
CONDA_BLD_ARCH
:
"
32
"
-
PYTHON
:
"
C:
\\
Python33-x64
"
CONDA_PY
:
"
33
"
CONDA_BLD
:
"
C:
\\
miniconda-64
"
CONDA_BLD_ARCH
:
"
64
"
-
PYTHON
:
"
C:
\\
Python34
"
CONDA_PY
:
"
34
"
CONDA_BLD
:
"
C:
\\
miniconda-32
"
CONDA_BLD_ARCH
:
"
32
"
-
PYTHON
:
"
C:
\\
Python34-x64
"
CONDA_PY
:
"
34
"
CONDA_BLD_ARCH
:
"
64
"
CONDA_BLD
:
"
C:
\\
miniconda-64
"
-
PYTHON
:
"
C:
\\
Python35
"
CONDA_PY
:
"
35
"
CONDA_BLD
:
"
C:
\\
miniconda-32
"
CONDA_BLD_ARCH
:
"
32
"
-
PYTHON
:
"
C:
\\
Python35-x64
"
CONDA_PY
:
"
35
"
CONDA_BLD
:
"
C:
\\
miniconda-64
"
CONDA_BLD_ARCH
:
"
64
"
install
:
#
install conda and deps
-
powershell .\ci\install.ps1
-
"
%CONDA_BLD%
\\
Scripts
\\
conda config --set show_channel_urls true --set always_yes true --set changeps1 false
"
-
"
%CONDA_BLD%
\\
Scripts
\\
conda update -q conda
"
-
"
%CONDA_BLD%
\\
Scripts
\\
conda info -a
"
#
install for wheels
-
"
%PYTHON%
\\
python.exe -m pip install --upgrade pip
"
-
"
%PYTHON%
\\
python.exe -m pip install wheel
"
-
"
%PYTHON%
\\
python.exe -m pip install six
"
build_script
:
#
build wheel
-
"
%PYTHON%
\\
python.exe setup.py bdist_wheel
"
#
build and dist conda package
-
cmd
:
"
%CMD_IN_ENV% %CONDA_BLD%
\\
Scripts
\\
conda build conda.recipe
"
-
ps
:
$CONDA_PKG=(& "$env:CONDA_BLD\\Scripts\\conda" build conda.recipe --output -q)
-
ps
:
copy-item $CONDA_PKG "$env:APPVEYOR_BUILD_FOLDER\\dist\\"
test_script
:
-
ps
:
'
& "$env:PYTHON\\Scripts\\pip.exe" install --no-cache-dir --force-reinstall --ignore-installed ("dist\\" + (gci dist\*.whl)[0].Name)
'
-
mkdir c:\testdir
-
ps
:
copy-item (gci -path build -re -include Python.Test.dll)[0].FullName c:\testdir
-
"
%PYTHON%
\\
python.exe src
\\
tests
\\
runtests.py
"
artifacts
:
#
bdist_wheel puts your built wheel in the dist directory
-
path
:
dist\*
Back
|
FazBrowse Home
|
New Git URL