Commit 2f0593b6 authored by Isaak Lim's avatar Isaak Lim

Update .gitlab-ci.yml

parent b1e1537d
Pipeline #14685 failed with stages
in 4 minutes and 33 seconds
...@@ -16,8 +16,8 @@ build-3.7-VS2017: ...@@ -16,8 +16,8 @@ build-3.7-VS2017:
- 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\Python37;C:\Program Files\Python37\Scripts;C:\Program Files\CMake\bin; - 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" . - virtualenv.exe -p "C:\Program Files\Python37\python.exe" .
- call .\Scripts\activate - call .\Scripts\activate
- python setup.py bdist_wheel --dist-dir dist3 - python setup.py bdist_wheel --dist-dir dist3
artifacts: artifacts:
...@@ -32,7 +32,7 @@ build-3.7-linux: ...@@ -32,7 +32,7 @@ build-3.7-linux:
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
script: script:
- virtualenv --clear -p python3.7 . - virtualenv -p python3.7 .
- source bin/activate - source bin/activate
- python setup.py bdist_wheel --dist-dir dist3 - python setup.py bdist_wheel --dist-dir dist3
artifacts: artifacts:
...@@ -64,7 +64,7 @@ build-2.7-linux: ...@@ -64,7 +64,7 @@ build-2.7-linux:
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
script: script:
- virtualenv --clear -p python2.7 . - virtualenv -p python2.7 .
- source bin/activate - source bin/activate
- python setup.py bdist_wheel --dist-dir dist2 - python setup.py bdist_wheel --dist-dir dist2
artifacts: artifacts:
...@@ -97,8 +97,8 @@ test-3.7-VS2017: ...@@ -97,8 +97,8 @@ test-3.7-VS2017:
dependencies: dependencies:
- build-3.7-VS2017 - build-3.7-VS2017
script: script:
- set Path=%Path%;C:\Program Files\Python37;C:\Program Files\Python37\Scripts; - set Path="%Path%;C:\Program Files\Python37;C:\Program Files\Python37\Scripts";
- virtualenv.exe --clear -p "C:\Program Files\Python37\python.exe" . - virtualenv.exe -p "C:\Program Files\Python37\python.exe" .
- call .\Scripts\activate - call .\Scripts\activate
- cd dist3 - cd dist3
- FOR %%a IN (*.whl) DO pip install %%a - FOR %%a IN (*.whl) DO pip install %%a
...@@ -113,7 +113,7 @@ test-3.7-linux: ...@@ -113,7 +113,7 @@ test-3.7-linux:
dependencies: dependencies:
- build-3.7-linux - build-3.7-linux
script: script:
- virtualenv --clear -p python3.7 . - virtualenv -p python3.7 .
- source bin/activate - source bin/activate
- pip install dist3/*.whl - pip install dist3/*.whl
- cd tests - cd tests
...@@ -142,7 +142,7 @@ test-2.7-linux: ...@@ -142,7 +142,7 @@ test-2.7-linux:
dependencies: dependencies:
- build-2.7-linux - build-2.7-linux
script: script:
- virtualenv --clear -p python2.7 . - virtualenv -p python2.7 .
- source bin/activate - source bin/activate
- pip install dist2/*.whl - pip install dist2/*.whl
- cd tests - cd tests
...@@ -243,7 +243,7 @@ deploy-sdist: ...@@ -243,7 +243,7 @@ deploy-sdist:
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
script: script:
- virtualenv --clear -p python3.7 . - virtualenv -p python3.7 .
- source bin/activate - source bin/activate
- python setup.py sdist --dist-dir release - python setup.py sdist --dist-dir release
artifacts: artifacts:
...@@ -258,7 +258,7 @@ deploy-documentation: ...@@ -258,7 +258,7 @@ deploy-documentation:
dependencies: dependencies:
- build-3.7-linux - build-3.7-linux
script: script:
- virtualenv --clear -p python3.7 . - virtualenv -p python3.7 .
- source bin/activate - source bin/activate
- pip install dist3/*.whl - pip install dist3/*.whl
- pip install sphinx sphinx_rtd_theme - pip install sphinx sphinx_rtd_theme
......
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