psutil

Форк
0
/
appveyor.yml 
83 строки · 2.3 Кб
1
# Build: 3 (bump this up by 1 to force an appveyor run)
2

3
os: Visual Studio 2015
4
# avoid 2 builds when pushing on PRs
5
skip_branch_with_pr: true
6
# avoid build on new GIT tag
7
skip_tags: true
8
matrix:
9
  # stop build on first failure
10
  fast_finish: true
11
environment:
12
  global:
13
    # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
14
    # /E:ON and /V:ON options are not enabled in the batch script interpreter
15
    # See: http://stackoverflow.com/a/13751649/163740
16
    WITH_COMPILER: "cmd /E:ON /V:ON /C .\\scripts\\internal\\appveyor_run_with_compiler.cmd"
17
    PYTHONWARNINGS: always
18
    PYTHONUNBUFFERED: 1
19
    PSUTIL_DEBUG: 1
20
  matrix:
21
    # 32 bits
22

23
    - PYTHON: "C:\\Python27"
24
      PYTHON_VERSION: "2.7.x"
25
      PYTHON_ARCH: "32"
26

27
    # 64 bits
28

29
    - PYTHON: "C:\\Python27-x64"
30
      PYTHON_VERSION: "2.7.x"
31
      PYTHON_ARCH: "64"
32

33

34
init:
35
  - "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
36

37
install:
38
  - "%WITH_COMPILER% %PYTHON%/python.exe -m pip --version"
39
  - "%WITH_COMPILER% %PYTHON%/python.exe -m pip install --upgrade --user setuptools pip"
40
  - "%WITH_COMPILER% %PYTHON%/python.exe scripts/internal/winmake.py setup-dev-env"
41
  - "%WITH_COMPILER% %PYTHON%/python.exe -m pip freeze"
42
  - "%WITH_COMPILER% %PYTHON%/python.exe scripts/internal/winmake.py install"
43

44
build: off
45

46
test_script:
47
  - "%WITH_COMPILER% %PYTHON%/python.exe scripts/internal/winmake.py test"
48
  - "%WITH_COMPILER% %PYTHON%/python.exe scripts/internal/winmake.py test-memleaks"
49

50
after_test:
51
  - "%WITH_COMPILER% %PYTHON%/python.exe scripts/internal/winmake.py wheel"
52
  - "%WITH_COMPILER% %PYTHON%/python.exe scripts/internal/print_hashes.py dist"
53
  - "%WITH_COMPILER% %PYTHON%/python.exe scripts/internal/print_access_denied.py"
54
  - "%WITH_COMPILER% %PYTHON%/python.exe scripts/internal/print_api_speed.py"
55

56
artifacts:
57
  - path: dist\*
58

59
cache:
60
  - '%LOCALAPPDATA%\pip\Cache'
61

62
# on_success:
63
#   - might want to upload the content of dist/*.whl to a public wheelhouse
64

65
skip_commits:
66
  message: skip-appveyor
67

68
# run build only if one of the following files is modified on commit
69
only_commits:
70
  files:
71
    - .ci/appveyor/*
72
    - appveyor.yml
73
    - psutil/__init__.py
74
    - psutil/_common.py
75
    - psutil/_compat.py
76
    - psutil/_psutil_common.*
77
    - psutil/_psutil_windows.*
78
    - psutil/_pswindows.py
79
    - psutil/arch/windows/*
80
    - psutil/tests/*
81
    - scripts/*
82
    - scripts/internal/*
83
    - setup.py
84

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.