Commit 44311501 authored by Isaak Lim's avatar Isaak Lim

call virtualenv scripts to avoid early exit for windows CI scripts

parent 54764119
Pipeline #6230 failed with stages
in 5 minutes and 6 seconds
...@@ -8,13 +8,16 @@ build-3.6-VS2017: ...@@ -8,13 +8,16 @@ build-3.6-VS2017:
build build
tags: tags:
- VS2017 - VS2017
variables:
BUILD_PLATFORM: "VS2017"
ARCHITECTURE: "x64"
before_script: before_script:
- git submodule sync --recursive - git submodule sync --recursive
- git submodule update --init --recursive - git submodule update --init --recursive
script: script:
- set Path=%Path%;C:\Program Files\Python36;C:\Program Files\Python36\Scripts; - set Path=%Path%;C:\Program Files\Python36;C:\Program Files\Python36\Scripts;
- virtualenv --clear -p "C:\Program Files\Python36\python.exe" . - virtualenv --clear -p "C:\Program Files\Python36\python.exe" .
- .\Scripts\activate - call .\Scripts\activate
- python setup.py bdist_wheel --dist-dir dist3 - python setup.py bdist_wheel --dist-dir dist3
artifacts: artifacts:
paths: paths:
...@@ -92,7 +95,7 @@ test-3.6-VS2017: ...@@ -92,7 +95,7 @@ test-3.6-VS2017:
script: script:
- set Path=%Path%;C:\Program Files\Python36;C:\Program Files\Python36\Scripts; - set Path=%Path%;C:\Program Files\Python36;C:\Program Files\Python36\Scripts;
- virtualenv --clear -p "C:\Program Files\Python36\python.exe" . - virtualenv --clear -p "C:\Program Files\Python36\python.exe" .
- .\Scripts\activate - call .\Scripts\activate
- cd dist3 - cd dist3
- FOR %wheel in (*.whl) DO pip install %wheel - FOR %wheel in (*.whl) DO pip install %wheel
- cd ..\tests - cd ..\tests
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment