Skip to content
Snippets Groups Projects
Commit afa2244c authored by Isaak Lim's avatar Isaak Lim
Browse files

seperate building and testing stages

parent ddff5f0b
Branches
Tags
No related merge requests found
Pipeline #
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment