Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
piphone
campaign
Commits
2c8217c4
Commit
2c8217c4
authored
Feb 11, 2019
by
Okhin
Browse files
Forcing django version in gitlab-ci
parent
67a4a34b
Pipeline
#2428
failed with stages
in 3 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
2c8217c4
...
...
@@ -7,7 +7,7 @@ job test python:
script
:
-
virtualenv --python=python3 env
-
source env/bin/activate
-
pip install django
-
pip install django
=='1.12.1'
-
pip install coverage
-
python setup.py develop
-
cp picampaign/settings.py.sample picampaign/settings.py
...
...
@@ -47,7 +47,7 @@ job deploy preprod:
-
rsync -ruvC ./ ${BASE_DIR}
-
virtualenv --python=python3 ${BASE_DIR}/env
-
source ${BASE_DIR}/env/bin/activate
-
pip install django
-
pip install
'
django
==1.12.1'
-
pip install coverage
-
python /srv/piphone/campaign/setup.py install
-
python /srv/piphone/campaign/manage.py migrate
...
...
@@ -66,7 +66,7 @@ job deploy prod:
-
rsync -ruvC ./ ${BASE_DIR}
-
virtualenv --python=python3 ${BASE_DIR}/env
-
source ${BASE_DIR}/env/bin/activate
-
pip install django
-
pip install
'
django
==1.12.1'
-
pip install coverage
-
python /srv/piphone/campaign/setup.py install
-
python /srv/piphone/campaign/manage.py migrate
...
...
setup.py
View file @
2c8217c4
...
...
@@ -6,7 +6,7 @@ here = os.path.abspath(os.path.dirname(__file__))
README
=
open
(
os
.
path
.
join
(
here
,
'README.md'
)).
read
()
requires
=
[
'
D
jango
==1.12.1
'
,
'
d
jango'
,
'djangorestframework'
,
'drf-nested-routers'
,
'drfdocs'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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