forked from statsmodels/statsmodels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
46 lines (40 loc) · 1.4 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
skip_tags: true
clone_depth: 50
os: Visual Studio 2015
environment:
# Undefining will run test from installation
PYTEST_DIRECTIVES: --skip-slow
matrix:
# Pip builds
- PYTHON: C:\Python27
PYTEST_DIRECTIVES:
- PYTHON: C:\Python36
PYTEST_DIRECTIVES:
# Conda builds
- PY_MAJOR_VER: 2
PYTHON_ARCH: "x86"
- PY_MAJOR_VER: 2
PYTHON_ARCH: "x86_64"
SCIPY: "0.18"
NUMPY: "1.11"
- PY_MAJOR_VER: 3
PYTHON_ARCH: "x86_64"
TEST_INSTALL: "true"
platform:
- x64
build_script:
# Search for [appveyor skip] or [skip appveyor] and exit if found in full commit message
- ps: $commit=$env:APPVEYOR_REPO_COMMIT_MESSAGE + $env:APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED
- ps: $skip_appveyor=$commit.Contains("[skip appveyor]") -Or $commit.Contains("[appveyor skip]")
- ps: If ($skip_appveyor) { echo "[skip appveyor]"; Exit-AppVeyorBuild }
# Show information about CPU running job to understand BLAS issues
- wmic cpu get caption, name, numberofcores
- SET MKL_NUM_THREADS=1
- SET NUMEXPR_NUM_THREADS=1
- SET OMP_NUM_THREADS=1
- SET OPENBLAS_NUM_THREADS=1
- If Defined PY_MAJOR_VER ( call tools\ci\appveyor_conda.bat ) else ( call tools\ci\appveyor_pip.bat )
- pip install pytest pytest-xdist pytest-randomly
- if Defined PYTEST_DIRECTIVES ( python setup.py develop ) else ( python setup.py install )
test_script:
- call tools\ci\run_test.bat