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
TAlone
memopol
Commits
90496e29
Commit
90496e29
authored
Oct 09, 2016
by
okhin
Browse files
Let's create and drop a postgresql database needed for tox
parent
50089538
Changes
1
Hide whitespace changes
Inline
Side-by-side
tox.ini
View file @
90496e29
...
...
@@ -16,6 +16,7 @@ commands =
{toxinidir}/src/memopol/bin/install_client_deps.sh
cp
{toxinidir}/src/memopol/tests/local_settings.py
{toxinidir}/src/memopol/local_settings.py
py.test
src/
createdb
-U
memopol_test
-p
5433
$CI_BUILD_REF_NAME
memopol
migrate
bash
-c
'cat
src/representatives/contrib/francedata/tests/representatives_input.json
|
francedata_import_representatives'
bash
-c
'cat
src/representatives/contrib/parltrack/tests/representatives_fixture.json
|
parltrack_import_representatives'
...
...
@@ -24,9 +25,13 @@ commands =
bash
-c
'cat
src/representatives_votes/contrib/francedata/tests/votes_input.json
|
francedata_import_votes'
bash
-c
'cat
src/representatives_votes/contrib/parltrack/tests/dossiers_fixture.json
|
parltrack_import_dossiers'
bash
-c
'cat
src/representatives_votes/contrib/parltrack/tests/votes_fixture.json
|
parltrack_import_votes'
dropdb
-U
memopol_test
-p
5433
$CI_BUILD_REF_NAME
whitelist_externals
=
psql
cp
createdb
dropdb
[testenv:qa]
skipsdist
=
True
...
...
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