-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.local.jenkins.win.yml
More file actions
26 lines (22 loc) · 1.39 KB
/
.local.jenkins.win.yml
File metadata and controls
26 lines (22 loc) · 1.39 KB
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
language: python
python:
- { PATH: "{{replace(Python39, '\\', '\\\\')}}", VERSION: 3.9, DIST: std, PYTHONPATH: src }
virtualenv:
- path: {{ospathjoin(root_path, pickname("%NAME_JENKINS%", project_name + "_%VERSION%_%DIST%_%NAME%"), "_venv")}}
install:
- pip install --upgrade pip
- pip install --no-cache-dir --no-deps --index http://localhost:8067/simple/ pyquickhelper pyensae pymmails pymyinstall pyrsslocal mlstatpy ensae_teaching_cs jyquickhelper
- pip install -r requirements.txt
- pip freeze
- pip freeze > pip_freeze.txt
script:
- { CMD: "python -X faulthandler -X showrefcount -u setup.py unittests", NAME: "UT", TIMEOUT: 3600 }
- { CMD: "python -X faulthandler -X showrefcount -u setup.py unittests -e .*LONG.* -g .*LONG_LONG.* ", NAME: "UT_LONG", TIMEOUT: 5000 } # gerry mandering
- { CMD: "python -X faulthandler -X showrefcount -u setup.py unittests_SKIP", NAME: "UT_SKIP", TIMEOUT: 5000 } # blaze
- { CMD: "python -X faulthandler -X showrefcount -u setup.py unittests -e .*LONG_LONG.*", NAME: "UT_LONG_LONG", TIMEOUT: 5000 } # gerry mandering in a notebook
after_script:
- python -u setup.py bdist_wheel
- if [ ${NAME} == "UT" ] then copy dist\*.whl {{root_path}}\..\..\local_pypi\local_pypi_server fi
documentation:
- if [ ${NAME} == "UT" ] then python -u setup.py build_sphinx fi
- if [ ${NAME} == "UT" ] then xcopy /E /C /I /Y _doc\sphinxdoc\build\html dist\html fi