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
urz-django
tuc2014
Commits
f931fd0b
Commit
f931fd0b
authored
Nov 08, 2021
by
Daniel Klaffenbach
🐍
Browse files
Update CI config
parent
998decd5
Pipeline
#51617
passed with stage
in 7 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f931fd0b
stages
:
-
test
before_script
:
-
python3.6 -m venv $HOME/tox
-
$HOME/tox/bin/pip install
tox
variables
:
LD_LIBRARY_PATH
:
/opt/sqlite-compat-django/lib/
TOX
:
/opt/venv/python3.6/tox/bin/
tox
py27-django111
:
stage
:
test
script
:
$HOME/tox/bin/tox -e 'py27-django111'
py36-django
111
:
py36-django
22
:
stage
:
test
script
:
$
HOME/tox/bin/tox
-e 'py36-django
111
'
script
:
$
TOX
-e 'py36-django
22
'
py36-django
2
1
:
py36-django
3
1
:
stage
:
test
script
:
$
HOME/tox/bin/tox
-e 'py36-django
2
1'
script
:
$
TOX
-e 'py36-django
3
1'
py36-django
2
2
:
py36-django
3
2
:
stage
:
test
script
:
$
HOME/tox/bin/tox
-e 'py36-django
2
2'
script
:
$
TOX
-e 'py36-django
3
2'
tox.ini
View file @
f931fd0b
...
...
@@ -6,7 +6,7 @@
[tox]
skipsdist
=
true
skip_missing_interpreters
=
true
envlist
=
py27-django111,py{36,37}-django{111,21,22}
envlist
=
py27-django111,py{36,37}-django{111,21,22
,30,31,32
}
[testenv]
commands
=
{envpython} runtests.py
...
...
@@ -15,8 +15,10 @@ deps =
django20:
Django
>=
2,
<
2.1
django21:
Django
>=
2.1,
<2.2
django22:
Django
>=
2.2,
<2.3
django30:
Django
=
= 3.0.*
django31:
Django
=
= 3.1.*
django32:
Django
=
= 3.2.*
setenv
=
DJANGO_LIVE_TEST_SERVER_ADDRESS
=
localhost:9000-9200
LD_LIBRARY_PATH
=
/opt/sqlite-compat-django/lib/
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