Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Public
suvit-gitlab
Commits
6c0590f4
Commit
6c0590f4
authored
6 years ago
by
Andrey Mironov
Browse files
Options
Download
Plain Diff
Merge branch 'master' into T3239.1
parents
0187f8e2
3f6df608
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
main.yml
main.yml
+10
-1
No files found.
main.yml
View file @
6c0590f4
...
...
@@ -65,12 +65,21 @@ tests:
-
if [ -f ${VENDOR}/temp_dump ]; then createdb ${MQT_TEMPLATE_DB} && psql < ${VENDOR}/temp_dump > /dev/null; fi
-
if [ -z ${LOG_LEVEL} ]; then export LOG_LEVEL="warn"; fi
-
|
if [ "${LOG_LEVEL}" == "warn" ]; then
sed -i "s|if check_loaded:|if 0:|g" ${VENDOR}/maintainer-quality-tools/travis/test_server.py
fi
-
HOME=${VENDOR} REPO_CACHED=${VENDOR} travis_install_nightly 1> /dev/null
-
cp -v .coveragerc.format .coveragerc ||
true
-
if [ -z ${LOG_LEVEL} ]; then export LOG_LEVEL="warn"; fi
-
if [ -z ${INSTALL_LOG_LEVEL} ]; then export INSTALL_LOG_LEVEL="error"; fi
-
HOME=${VENDOR} INSTALL_OPTIONS="--log-level=${INSTALL_LOG_LEVEL}" OPTIONS="--log-handler=odoo.sql_db:CRITICAL --log-level=${LOG_LEVEL} ${ODOO_OPTIONS}" travis_run_tests
-
export INSTALL_OPTIONS="--log-level=${INSTALL_LOG_LEVEL}"
-
export OPTIONS="--log-handler=odoo.sql_db:CRITICAL --log-level=${LOG_LEVEL} ${ODOO_OPTIONS}"
-
HOME=${VENDOR} travis_run_tests
-
if [ ${CI_COMMIT_REF_NAME} == ${VERSION} ]; then coverage html; fi
-
dropdb --if-exists ${MQT_TEST_DB}
-
pg_dump -OC ${MQT_TEMPLATE_DB} > ${VENDOR}/temp_dump
...
...
This diff is collapsed.
Click to expand it.
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