Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenMesh
openmesh-python
Commits
1a2d56ac
Commit
1a2d56ac
authored
Feb 07, 2018
by
Isaak Lim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
separate stages for CI
parent
be6fba09
Pipeline
#6171
failed with stages
in 1 minute and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
79 additions
and
14 deletions
+79
-14
.gitlab-ci.yml
.gitlab-ci.yml
+79
-14
No files found.
.gitlab-ci.yml
View file @
1a2d56ac
test-3.5
:
stages
:
-
build
-
test
-
deploy
build-3.5
:
stage
:
build
tags
:
-
Linux
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
script
:
-
virtualenv --clear -p python3.5 .
-
source bin/activate
-
python setup.py bdist_wheel --dist-dir dist3
-
pip install dist3/*.whl
-
cd tests
-
python -m unittest discover
-
virtualenv --clear -p python3.5 ./venv3
-
source ./venv3/bin/activate
-
python setup.py bdist_wheel --dist-dir dist3
-
pip install dist3/*.whl
artifacts
:
paths
:
-
dist3/
-
venv3/
test-2.7
:
build-2.7
:
stage
:
build
tags
:
-
Linux
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
script
:
-
virtualenv --clear -p python2.7 .
-
source bin/activate
-
python setup.py bdist_wheel --dist-dir dist2
-
pip install dist2/*.whl
-
cd tests
-
python -m unittest discover
-
virtualenv --clear -p python2.7 ./venv2
-
source ./venv2/bin/activate
-
python setup.py bdist_wheel --dist-dir dist2
-
pip install dist2/*.whl
artifacts
:
paths
:
-
dist2/
-
venv2/
test-3.5
:
stage
:
test
tags
:
-
Linux
dependencies
:
-
build-3.5
script
:
-
source ./venv3/bin/activate
-
cd tests
-
python -m unittest discover
test-2.7
:
stage
:
test
tags
:
-
Linux
dependencies
:
-
build-2.7
script
:
-
source ./venv2/bin/activate
-
cd tests
-
python -m unittest discover
deploy-3.5
:
stage
:
deploy
tags
:
-
Linux
dependencies
:
-
build-3.5
script
:
-
mkdir release
-
cp dist3/*.whl release
artifacts
:
paths
:
-
release/*.whl
deploy-2.7
:
stage
:
deploy
tags
:
-
Linux
dependencies
:
-
build-2.7
script
:
-
mkdir release
-
cp dist2/*.whl release
artifacts
:
paths
:
-
release/*.whl
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment