From 2f0593b6656403f88faa99062b6f3357afc2acbf Mon Sep 17 00:00:00 2001 From: Isaak Lim Date: Tue, 14 Jul 2020 14:39:48 +0200 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 956d4ec..b3d9197 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,8 +16,8 @@ build-3.7-VS2017: - git submodule sync --recursive - git submodule update --init --recursive script: - - set Path=%Path%;C:\Program Files\Python37;C:\Program Files\Python37\Scripts;C:\Program Files\CMake\bin; - - virtualenv.exe --clear -p "C:\Program Files\Python37\python.exe" . + - set Path="%Path%;C:\Program Files\Python37;C:\Program Files\Python37\Scripts;C:\Program Files\CMake\bin"; + - virtualenv.exe -p "C:\Program Files\Python37\python.exe" . - call .\Scripts\activate - python setup.py bdist_wheel --dist-dir dist3 artifacts: @@ -32,7 +32,7 @@ build-3.7-linux: variables: GIT_SUBMODULE_STRATEGY: recursive script: - - virtualenv --clear -p python3.7 . + - virtualenv -p python3.7 . - source bin/activate - python setup.py bdist_wheel --dist-dir dist3 artifacts: @@ -64,7 +64,7 @@ build-2.7-linux: variables: GIT_SUBMODULE_STRATEGY: recursive script: - - virtualenv --clear -p python2.7 . + - virtualenv -p python2.7 . - source bin/activate - python setup.py bdist_wheel --dist-dir dist2 artifacts: @@ -97,8 +97,8 @@ test-3.7-VS2017: dependencies: - build-3.7-VS2017 script: - - set Path=%Path%;C:\Program Files\Python37;C:\Program Files\Python37\Scripts; - - virtualenv.exe --clear -p "C:\Program Files\Python37\python.exe" . + - set Path="%Path%;C:\Program Files\Python37;C:\Program Files\Python37\Scripts"; + - virtualenv.exe -p "C:\Program Files\Python37\python.exe" . - call .\Scripts\activate - cd dist3 - FOR %%a IN (*.whl) DO pip install %%a @@ -113,7 +113,7 @@ test-3.7-linux: dependencies: - build-3.7-linux script: - - virtualenv --clear -p python3.7 . + - virtualenv -p python3.7 . - source bin/activate - pip install dist3/*.whl - cd tests @@ -142,7 +142,7 @@ test-2.7-linux: dependencies: - build-2.7-linux script: - - virtualenv --clear -p python2.7 . + - virtualenv -p python2.7 . - source bin/activate - pip install dist2/*.whl - cd tests @@ -243,7 +243,7 @@ deploy-sdist: variables: GIT_SUBMODULE_STRATEGY: recursive script: - - virtualenv --clear -p python3.7 . + - virtualenv -p python3.7 . - source bin/activate - python setup.py sdist --dist-dir release artifacts: @@ -258,7 +258,7 @@ deploy-documentation: dependencies: - build-3.7-linux script: - - virtualenv --clear -p python3.7 . + - virtualenv -p python3.7 . - source bin/activate - pip install dist3/*.whl - pip install sphinx sphinx_rtd_theme -- GitLab