attempt to use python 3.8.0
This commit is contained in:
parent
b19032da9b
commit
8d83e51947
@ -1,7 +1,7 @@
|
|||||||
# Jobs to build the two channels in Socializer.
|
# Jobs to build the two channels in Socializer.
|
||||||
variables:
|
variables:
|
||||||
PYTHON3: "C:\\python37\\python.exe"
|
PYTHON3-32: "C:\\python38-32\\python.exe"
|
||||||
PYINSTALLER: "C:\\python37\\scripts\\pyinstaller.exe"
|
PYTHON3-64: "C:\\python38-32\\python.exe"
|
||||||
PYTHON2: "C:\\python27\\python.exe"
|
PYTHON2: "C:\\python27\\python.exe"
|
||||||
NSIS: "C:\\nsis\\makensis.exe"
|
NSIS: "C:\\nsis\\makensis.exe"
|
||||||
|
|
||||||
@ -10,15 +10,15 @@ test_py3:
|
|||||||
tags:
|
tags:
|
||||||
- windows10
|
- windows10
|
||||||
before_script:
|
before_script:
|
||||||
- '%PYTHON3% -V'
|
- '%PYTHON3-32% -v'
|
||||||
- '%PYTHON3% -m pip install --upgrade pip'
|
- '%PYTHON3-32% -m pip install --upgrade pip'
|
||||||
- '%PYTHON3% -m pip install --upgrade -r requirements.txt'
|
- '%PYTHON3-32% -m pip install --upgrade -r requirements.txt'
|
||||||
only:
|
only:
|
||||||
- schedules
|
- schedules
|
||||||
script:
|
script:
|
||||||
- cd src
|
- cd src
|
||||||
- '%PYTHON3% -m coverage run run_tests.py'
|
- '%PYTHON3-32% -m coverage run run_tests.py'
|
||||||
- '%PYTHON3% -m coverage report --omit="test*"'
|
- '%PYTHON3-32% -m coverage report --omit="test*"'
|
||||||
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
|
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
|
||||||
|
|
||||||
documentation:
|
documentation:
|
||||||
@ -26,7 +26,7 @@ documentation:
|
|||||||
tags:
|
tags:
|
||||||
- windows10
|
- windows10
|
||||||
before_script:
|
before_script:
|
||||||
- '%PYTHON3% -v'
|
- '%PYTHON3-32% -v'
|
||||||
script:
|
script:
|
||||||
- copy changelog.md doc\changelog.md
|
- copy changelog.md doc\changelog.md
|
||||||
- cd doc
|
- cd doc
|
||||||
@ -47,21 +47,21 @@ alpha_python3:
|
|||||||
tags:
|
tags:
|
||||||
- windows10
|
- windows10
|
||||||
before_script:
|
before_script:
|
||||||
- '%PYTHON3% -v'
|
- '%PYTHON3-32% -v'
|
||||||
- '%PYTHON3% -m pip install --upgrade pip'
|
- '%PYTHON3-32% -m pip install --upgrade pip'
|
||||||
- '%PYTHON3% -m pip install --upgrade -r requirements.txt'
|
- '%PYTHON3-32% -m pip install --upgrade -r requirements.txt'
|
||||||
- '%PYTHON3% -m pip uninstall enum34 -y'
|
- '%PYTHON3-32% -m pip uninstall enum34 -y'
|
||||||
script:
|
script:
|
||||||
- copy changelog.md doc\changelog.md
|
- copy changelog.md doc\changelog.md
|
||||||
- cd doc
|
- cd doc
|
||||||
- '%PYTHON2% documentation_importer.py'
|
- '%PYTHON2% documentation_importer.py'
|
||||||
- cd ..\src
|
- cd ..\src
|
||||||
- '%PYTHON2% ..\doc\generator.py'
|
- '%PYTHON2% ..\doc\generator.py'
|
||||||
- '%PYTHON3% write_version_data.py'
|
- '%PYTHON3-32% write_version_data.py'
|
||||||
- '%PYINSTALLER% main.spec'
|
- '%PYINSTALLER% main.spec'
|
||||||
- cd ..
|
- cd ..
|
||||||
- cd scripts
|
- cd scripts
|
||||||
- '%PYTHON3% prepare_zipversion.py'
|
- '%PYTHON3-32% prepare_zipversion.py'
|
||||||
- call genpot_interface.bat
|
- call genpot_interface.bat
|
||||||
- call genpot_doc.bat
|
- call genpot_doc.bat
|
||||||
- cd ..
|
- cd ..
|
||||||
@ -83,21 +83,21 @@ alpha:
|
|||||||
tags:
|
tags:
|
||||||
- windows10
|
- windows10
|
||||||
before_script:
|
before_script:
|
||||||
- '%PYTHON3% -v'
|
- '%PYTHON3-32% -v'
|
||||||
- '%PYTHON3% -m pip install --upgrade pip cx_freeze'
|
- '%PYTHON3-32% -m pip install --upgrade pip cx_freeze'
|
||||||
- '%PYTHON3% -m pip install --upgrade -r requirements.txt'
|
- '%PYTHON3-32% -m pip install --upgrade -r requirements.txt'
|
||||||
- '%PYTHON3% -m pip uninstall enum34 -y'
|
- '%PYTHON3-32% -m pip uninstall enum34 -y'
|
||||||
script:
|
script:
|
||||||
- copy changelog.md doc\changelog.md
|
- copy changelog.md doc\changelog.md
|
||||||
- cd doc
|
- cd doc
|
||||||
- '%PYTHON2% documentation_importer.py'
|
- '%PYTHON2% documentation_importer.py'
|
||||||
- cd ..\src
|
- cd ..\src
|
||||||
- '%PYTHON2% ..\doc\generator.py'
|
- '%PYTHON2% ..\doc\generator.py'
|
||||||
- '%PYTHON3% write_version_data.py'
|
- '%PYTHON3-32% write_version_data.py'
|
||||||
- '%PYTHON3% setup.py build'
|
- '%PYTHON3-32% setup.py build'
|
||||||
- cd ..
|
- cd ..
|
||||||
- cd scripts
|
- cd scripts
|
||||||
- '%PYTHON3% prepare_zipversion_cxfreeze.py'
|
- '%PYTHON3-32% prepare_zipversion_cxfreeze.py'
|
||||||
- call genpot_interface.bat
|
- call genpot_interface.bat
|
||||||
- call genpot_doc.bat
|
- call genpot_doc.bat
|
||||||
- cd ..
|
- cd ..
|
||||||
@ -119,25 +119,25 @@ stable:
|
|||||||
tags:
|
tags:
|
||||||
- windows
|
- windows
|
||||||
before_script:
|
before_script:
|
||||||
- '%PYTHON3% -v'
|
- '%PYTHON3-32% -v'
|
||||||
- '%PYTHON3% -m pip install --upgrade pip'
|
- '%PYTHON3-32% -m pip install --upgrade pip'
|
||||||
- '%PYTHON3% -m pip install --upgrade -r requirements.txt'
|
- '%PYTHON3-32% -m pip install --upgrade -r requirements.txt'
|
||||||
- '%PYTHON3% -m pip uninstall enum34 -y'
|
- '%PYTHON3-32% -m pip uninstall enum34 -y'
|
||||||
script:
|
script:
|
||||||
- copy changelog.md doc\changelog.md
|
- copy changelog.md doc\changelog.md
|
||||||
- cd doc
|
- cd doc
|
||||||
- '%PYTHON2% documentation_importer.py'
|
- '%PYTHON2% documentation_importer.py'
|
||||||
- cd ..\src
|
- cd ..\src
|
||||||
- '%PYTHON2% ..\doc\generator.py'
|
- '%PYTHON2% ..\doc\generator.py'
|
||||||
- '%PYTHON3% write_version_data.py'
|
- '%PYTHON3-32% write_version_data.py'
|
||||||
- '%PYTHON3% setup.py build'
|
- '%PYTHON3-32% setup.py build'
|
||||||
- '%NSIS% installer.nsi'
|
- '%NSIS% installer.nsi'
|
||||||
- cd ..
|
- cd ..
|
||||||
- move src\socializer* .
|
- move src\socializer* .
|
||||||
- cd scripts
|
- cd scripts
|
||||||
- '%PYTHON3% prepare_zipversion_cxfreeze.py'
|
- '%PYTHON3-32% prepare_zipversion_cxfreeze.py'
|
||||||
- cd ..
|
- cd ..
|
||||||
- move src\socializer.zip socializer.zip
|
- move src\socializer.zip socializer.zip
|
||||||
- '%PYTHON3% scripts/upload.py'
|
- '%PYTHON3-32% scripts/upload.py'
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
Loading…
Reference in New Issue
Block a user