Commit c457a6aa authored by Isaak Lim's avatar Isaak Lim

revert separate stages for now

parent eaf19c16
Pipeline #6156 passed with stage
in 1 minute and 40 seconds
stages: test-3.5:
- build
- test
build-3.5:
stage: build
cache:
key: wheel3
paths:
- ./venv3
- ./dist3
- ./venv2
- ./dist2
policy: push
tags: tags:
- Linux - Linux
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
script: script:
- virtualenv --clear -p python3.5 ./venv3 - virtualenv --clear -p python3.5 .
- source ./venv3/bin/activate - source bin/activate
- python setup.py bdist_wheel --dist-dir dist3 - python setup.py bdist_wheel --dist-dir dist3
- pip install dist3/*.whl - pip install dist3/*.whl
build-2.7:
stage: build
cache:
key: wheel2
paths:
- ./venv3
- ./dist3
- ./venv2
- ./dist2
policy: push
tags:
- Linux
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- virtualenv --clear -p python2.7 ./venv2
- source ./venv2/bin/activate
- python setup.py bdist_wheel --dist-dir dist2
- pip install dist2/*.whl
test-3.5:
stage: test
cache:
key: wheel3
paths:
- ./venv3
- ./dist3
- ./venv2
- ./dist2
policy: pull
tags:
- Linux
script:
- source ./venv3/bin/activate
- cd tests - cd tests
- python -m unittest discover - python -m unittest discover
test-2.7: test-2.7:
stage: test
cache:
key: wheel2
paths:
- ./venv3
- ./dist3
- ./venv2
- ./dist2
policy: pull
tags: tags:
- Linux - Linux
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
script: script:
- source ./venv2/bin/activate - virtualenv --clear -p python2.7 .
- source bin/activate
- python setup.py bdist_wheel --dist-dir dist2
- pip install dist2/*.whl
- cd tests - cd tests
- python -m unittest discover - python -m unittest discover
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