Commit afa2244c authored by Isaak Lim's avatar Isaak Lim

seperate building and testing stages

parent ddff5f0b
Pipeline #6151 failed with stages
in 1 minute and 11 seconds
test-3.5:
stages:
- build
- test
build-3.5:
stage: build
tags:
- Linux
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- virtualenv --clear -p python3.5 .
- source bin/activate
- virtualenv --clear -p python3.5 ./venv3
- source venv3/bin/activate
- python setup.py bdist_wheel --dist-dir dist3
build-2.7:
stage: build
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
test-3.5:
stage: test
tags:
- Linux
script:
- source venv3/bin/activate
- pip install dist3/*.whl
- cd tests
- python -m unittest discover
test-2.7:
stage: test
tags:
- Linux
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- virtualenv --clear -p python2.7 .
- source bin/activate
- python setup.py bdist_wheel --dist-dir dist2
- source venv2/bin/activate
- pip install dist2/*.whl
- cd tests
- 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