Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenMesh
openmesh-python
Commits
20f8e2b1
Commit
20f8e2b1
authored
Feb 05, 2018
by
Isaak Lim
Browse files
use push-pull cache policy
parent
c4e51cf2
Pipeline
#6154
failed with stages
in 1 minute and 22 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
20f8e2b1
cache
:
paths
:
-
./venv3/
-
./venv2/
-
./dist3/
-
./dist2/
stages
:
-
build
-
test
build-3.5
:
stage
:
build
cache
:
key
:
wheel3
paths
:
-
./venv3
-
./dist3
policy
:
push
tags
:
-
Linux
variables
:
...
...
@@ -19,9 +18,16 @@ build-3.5:
-
virtualenv --clear -p python3.5 ./venv3
-
source ./venv3/bin/activate
-
python setup.py bdist_wheel --dist-dir dist3
-
pip install dist3/*.whl
build-2.7
:
stage
:
build
cache
:
key
:
wheel2
paths
:
-
./venv2
-
./dist2
policy
:
push
tags
:
-
Linux
variables
:
...
...
@@ -30,25 +36,36 @@ build-2.7:
-
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
policy
:
pull
tags
:
-
Linux
script
:
-
source ./venv3/bin/activate
-
pip install dist3/*.whl
-
cd tests
-
python -m unittest discover
test-2.7
:
stage
:
test
cache
:
key
:
wheel2
paths
:
-
./venv2
-
./dist2
policy
:
pull
tags
:
-
Linux
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
script
:
-
source venv2/bin/activate
-
pip install dist2/*.whl
-
source ./venv2/bin/activate
-
cd tests
-
python -m unittest discover
Write
Preview
Supports
Markdown
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