Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
fountain
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
urz-django
fountain
Commits
fdd04ad7
Commit
fdd04ad7
authored
Dec 04, 2017
by
Daniel Klaffenbach
🐍
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: Update tests for Django 2.0
parent
14e04f41
Pipeline
#13232
passed with stage
in 40 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
7 deletions
+14
-7
.gitlab-ci.yml
.gitlab-ci.yml
+4
-0
tests/test_settings.py
tests/test_settings.py
+3
-3
tests/urls.py
tests/urls.py
+3
-3
tox.ini
tox.ini
+4
-1
No files found.
.gitlab-ci.yml
View file @
fdd04ad7
...
...
@@ -30,3 +30,7 @@ py36-django111:
stage
:
test
script
:
$HOME/tox/bin/tox -e 'py36-django111'
py36-django20
:
stage
:
test
script
:
$HOME/tox/bin/tox -e 'py36-django20'
tests/test_settings.py
View file @
fdd04ad7
...
...
@@ -26,18 +26,18 @@ INSTALLED_APPS = (
'tests'
)
MIDDLEWARE
_CLASSES
=
(
MIDDLEWARE
=
(
'django.contrib.sessions.middleware.SessionMiddleware'
,
'django.middleware.common.CommonMiddleware'
,
'django.middleware.csrf.CsrfViewMiddleware'
,
'django.contrib.auth.middleware.AuthenticationMiddleware'
,
'django.contrib.auth.middleware.SessionAuthenticationMiddleware'
,
'django.contrib.auth.middleware.AuthenticationMiddleware'
,
'django.contrib.auth.middleware.RemoteUserMiddleware'
,
'django.contrib.messages.middleware.MessageMiddleware'
,
'django.middleware.clickjacking.XFrameOptionsMiddleware'
,
'django.middleware.security.SecurityMiddleware'
,
)
# compat for Django 1.8
MIDDLEWARE_CLASSES
=
MIDDLEWARE
ROOT_URLCONF
=
'tests.urls'
...
...
tests/urls.py
View file @
fdd04ad7
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.conf.urls
import
include
,
url
from
django.conf.urls
import
url
from
django.contrib
import
admin
urlpatterns
=
[
url
(
r'^admin/'
,
include
(
admin
.
site
.
urls
)),
urlpatterns
=
[
url
(
r'^admin/'
,
admin
.
site
.
urls
)
]
\ No newline at end of file
tox.ini
View file @
fdd04ad7
...
...
@@ -5,7 +5,9 @@
[tox]
skipsdist
=
true
envlist
=
py{27,36}-django{18,110,111}
envlist
=
py{27,36}-django{18,110,111},
py{36}-django{20}
[testenv]
#alwayscopy = True
...
...
@@ -21,6 +23,7 @@ deps =
django18:
Django
>=
1.8,
<
1.9
django110:
Django
>=
1.10,
<
1.11
django111:
Django
>=
1.11,
<
2
django20:
Django
>=
2,
<
2.1
setenv
=
DJANGO_LIVE_TEST_SERVER_ADDRESS
=
localhost:9000-9200
...
...
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