Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
senpy
senpy
Commits
2e3a6b7c
Commit
2e3a6b7c
authored
Feb 13, 2017
by
J. Fernando Sánchez
Browse files
TAGNAME->SLUG and cache in .eggs
parent
7cc8b562
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
2e3a6b7c
...
...
@@ -14,17 +14,13 @@ stages:
.test
:
&test_definition
variables
:
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/
pip-cache
"
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/
.eggs
"
cache
:
paths
:
-
.venv/
-
pip-cache/
-
.eggs/
key
:
"
$CI_PROJECT_NAME"
stage
:
test
script
:
-
pip install virtualenv
-
virtualenv -q .venv
-
source .venv/bin/activate
-
python setup.py test
test-3.5
:
...
...
@@ -46,8 +42,8 @@ test-2.7:
before_script
:
-
docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
script
:
-
docker build -f Dockerfile-3.5 . -t $CI_REGISTRY_IMAGE:$CI_BUILD_
TA
G-$PYTHON_VERSION
-
docker push $CI_REGISTRY_IMAGE:$CI_BUILD_
TA
G-$PYTHON_VERSION
-
docker build -f Dockerfile-3.5 . -t $CI_REGISTRY_IMAGE:$CI_BUILD_
REF_SLU
G-$PYTHON_VERSION
-
docker push $CI_REGISTRY_IMAGE:$CI_BUILD_
REF_SLU
G-$PYTHON_VERSION
stage
:
images
only
:
-
tags
...
...
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