Permalink
Browse files

update jenkins build

  • Loading branch information...
sdpython committed Aug 26, 2016
1 parent 6fb6e16 commit 4ac3d320ce67fe26ac9b0d53fdd6f0b2baa50a92
Showing with 23 additions and 0 deletions.
  1. +23 −0 .local.jenkins.win.yml
View
@@ -0,0 +1,23 @@
language: python
python:
- { PATH: "{{replace(Python34, '\\', '\\\\')}}", VERSION: 3.4, DIST: std }
- { PATH: "{{replace(Python35, '\\', '\\\\')}}", VERSION: 3.5, DIST: std }
- { PATH: "{{replace(Anaconda3, '\\', '\\\\')}}", VERSION: 3.5, DIST: conda }
- { PATH: "{{replace(WinPython35, '\\', '\\\\')}}", VERSION: 3.5, DIST: winpython }
virtualenv:
- path: {{ospathjoin(root_path, pickname("%NAME_JENKINS%", project_name + "_%VERSION%_%DIST%_%NAME%"), "_venv")}}
install:
- pip install --no-cache-dir --index http://localhost:8067/simple/ pyquickhelper pyensae pymmails pymyinstall pyrsslocal
- pip install -r requirements.txt
- pip freeze
script:
- { CMD: "python setup.py unittests", NAME: "UT" }
after_script:
- python setup.py bdist_wheel
- if [ ${DIST} != "conda" and ${VERSION} != "3.4" ] then copy dist\*.whl ..\..\local_pypi\local_pypi_server fi
documentation:
- if [ ${PYTHON} == "{{Python35}}" ] then python setup.py build_sphinx fi
- if [ ${PYTHON} == "{{Python35}}" ] then xcopy /E /C /I /Y _doc\sphinxdoc\build\html dist\html fi
- if [ ${PYTHON} == "{{Python35}}" ] then xcopy /E /C /I /Y _doc\sphinxdoc\build\epub dist\epub fi
- if [ ${PYTHON} == "{{Python35}}" ] then copy _doc\sphinxdoc\build\htmlhelp\*.chm dist\html fi
- if [ ${PYTHON} == "{{Python35}}" ] then xcopy /E /C /I /Y _doc\sphinxdoc\build\latex\*.pdf dist\html fi

0 comments on commit 4ac3d32

Please sign in to comment.