Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
b4a4c594
Commit
b4a4c594
authored
Oct 10, 2013
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop Jenkins setup
Using Travis seems to be good enough for us, so let's drop not used Jenkins hooks.
parent
ac78fd66
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
99 deletions
+1
-99
.coveragerc
.coveragerc
+0
-1
pylint.rc
pylint.rc
+1
-1
requirements-test.txt
requirements-test.txt
+0
-1
weblate/jenkins_cleanup.py
weblate/jenkins_cleanup.py
+0
-39
weblate/settings_jenkins.py
weblate/settings_jenkins.py
+0
-57
No files found.
.coveragerc
View file @
b4a4c594
...
...
@@ -4,7 +4,6 @@ omit =
*migrations*
*/settings_*.py
*/settings.py
*/jenkins_cleanup.py
*/wsgi.py
*ttkit*
...
...
pylint.rc
View file @
b4a4c594
...
...
@@ -5,7 +5,7 @@ profile=no
# Add files or directories to the blacklist. They should be base names, not
# paths.
ignore=migrations,settings.py,settings_
jenkins.py,settings_
test.py,settings_test_mysql.py,settings_test_postgresql.py,settings_test_sqlite.py,.git,test-repos,repos
ignore=migrations,settings.py,settings_test.py,settings_test_mysql.py,settings_test_postgresql.py,settings_test_sqlite.py,.git,test-repos,repos
# Pickle collected data for later comparisons.
persistent=yes
...
...
requirements-test.txt
View file @
b4a4c594
...
...
@@ -3,5 +3,4 @@ coveralls
pylint
mysql-python
psycopg2
django_jenkins
selenium
weblate/jenkins_cleanup.py
deleted
100644 → 0
View file @
ac78fd66
# -*- coding: utf-8 -*-
#
# Copyright © 2012 - 2013 Michal Čihař <michal@cihar.com>
#
# This file is part of Weblate <http://weblate.org/>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
'''
Cleanup task for Jenkins CI
'''
from
django_jenkins.tasks
import
BaseTask
from
django.conf
import
settings
import
os
import
shutil
class
Task
(
BaseTask
):
def
teardown_test_environment
(
self
,
**
kwargs
):
'''
Remove test repos before collecting code stats.
The test-repos just pollute stats.
'''
if
'test-repos'
in
settings
.
GIT_ROOT
:
if
os
.
path
.
exists
(
settings
.
GIT_ROOT
):
shutil
.
rmtree
(
settings
.
GIT_ROOT
)
weblate/settings_jenkins.py
deleted
100644 → 0
View file @
ac78fd66
# -*- coding: utf-8 -*-
#
# Copyright © 2012 - 2013 Michal Čihař <michal@cihar.com>
#
# This file is part of Weblate <http://weblate.org/>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# Django settings for run inside Jenkins
#
from
weblate.settings_test
import
*
import
os
INSTALLED_APPS
+=
(
'django_jenkins'
,
)
JENKINS_TASKS
=
(
'weblate.jenkins_cleanup'
,
'django_jenkins.tasks.run_pylint'
,
'django_jenkins.tasks.run_pyflakes'
,
'django_jenkins.tasks.run_sloccount'
,
'django_jenkins.tasks.with_coverage'
,
'django_jenkins.tasks.run_pep8'
,
'django_jenkins.tasks.run_csslint'
,
'django_jenkins.tasks.run_jshint'
,
'django_jenkins.tasks.django_tests'
,
)
PROJECT_APPS
=
(
'trans'
,
'lang'
,
'accounts'
,
'weblate'
,
)
CSSLINT_CHECKED_FILES
=
(
os
.
path
.
join
(
WEB_ROOT
,
'media/style.css'
),
)
JSHINT_CHECKED_FILES
=
(
os
.
path
.
join
(
WEB_ROOT
,
'media/loader.js'
),
)
PYLINT_RCFILE
=
os
.
path
.
join
(
WEB_ROOT
,
'..'
,
'pylint.rc'
)
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