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
dec86351
Commit
dec86351
authored
Feb 20, 2015
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Remove migration testing"
This reverts commit
5eb691fd
.
parent
5eb691fd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
ci/migrate-testing
ci/migrate-testing
+10
-0
ci/run-test
ci/run-test
+3
-0
No files found.
ci/migrate-testing
0 → 100755
View file @
dec86351
#!/bin/sh
# Migration ordering testing
set
-e
set
-x
for
app
in
trans lang accounts
;
do
rm
-f
weblate.db
./manage.py migrate
--noinput
--settings
weblate.settings_test sites
./manage.py migrate
--settings
weblate.settings_test
--traceback
$app
done
ci/run-test
View file @
dec86351
...
...
@@ -4,5 +4,8 @@ set -e
set
-x
./manage.py check
if
[
"
$CI_DATABASE
"
=
sqlite
-o
-z
"
$CI_DATABASE
"
]
;
then
./ci/migrate-testing
fi
./manage.py migrate
--noinput
--traceback
coverage run
--source
=
.
./manage.py
test
-v
2
$CI_RUN_TESTS
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