File: appveyor.yml

package info (click to toggle)
statsmodels 0.12.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 46,208 kB
  • sloc: python: 232,739; f90: 612; sh: 389; javascript: 337; makefile: 164; asm: 156; ansic: 16; xml: 9
file content (42 lines) | stat: -rw-r--r-- 1,443 bytes parent folder | download | duplicates (2)
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
skip_tags: true
clone_depth: 50

os: Visual Studio 2015

environment:
  # Undefining will run test from installation
  PYTEST_DIRECTIVES: --skip-slow
  PYTHONHASHSEED: 0 # Ensure tests are correctly gathered by xdist
  MKL_NUM_THREADS: 1
  NUMEXPR_NUM_THREADS: 1
  OMP_NUM_THREADS: 1
  OPENBLAS_NUM_THREADS: 1
  matrix:
    # Pip builds
    - PYTHON: C:\Python38
      PYTEST_DIRECTIVES:
    - PY_MAJOR_VER: 3
      PYTHON_ARCH: "x86"
    - 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
  - If Defined PY_MAJOR_VER ( call tools\ci\appveyor_conda.bat ) else ( call tools\ci\appveyor_pip.bat )
  # Pin to 1.29 for now due to test discovery issues
  - python -m pip install --upgrade pip "setuptools<50.0"
  - pip install pytest "pytest-xdist==1.29" pytest-randomly
  - if Defined PYTEST_DIRECTIVES ( pip install -e . --no-build-isolation ) else ( pip install . )

test_script:
  - call tools\ci\run_test.bat