Mercurial > kallithea
changeset 6549:f65f8acaca84
jenkinsfile: remove unnecessary lines
We use TEST_DB environment variable instead of editing test.ini to change the DB
configuration.
author | domruf <dominikruf@gmail.com> |
---|---|
date | Thu, 23 Mar 2017 22:08:56 +0100 |
parents | 28f631e2c757 |
children | ad275fcc5a90 |
files | Jenkinsfile |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/Jenkinsfile Thu Mar 23 19:04:21 2017 +0100 +++ b/Jenkinsfile Thu Mar 23 22:08:56 2017 +0100 @@ -62,10 +62,8 @@ pytests['sqlite'] = { ws { unstash name: 'kallithea' - sh 'hg revert kallithea/tests/test.ini' if (isUnix()) { sh script: """$activatevirtualenv - hg revert kallithea/tests/test.ini py.test -p no:sugar --cov-config .coveragerc --junit-xml=pytest_sqlite.xml --cov=kallithea --cov-report xml """, returnStatus: true } else { @@ -89,7 +87,6 @@ pytests['de'] = { ws { unstash name: 'kallithea' - sh 'hg revert kallithea/tests/test.ini' withEnv(['LANG=de_DE.UTF-8', 'LANGUAGE=de', 'LC_ADDRESS=de_DE.UTF-8', @@ -114,7 +111,6 @@ pytests['mysql'] = { ws { unstash name: 'kallithea' - sh 'hg revert kallithea/tests/test.ini' sh """$activatevirtualenv pip install --upgrade MySQL-python """ @@ -137,8 +133,6 @@ pytests['postgresql'] = { ws { unstash name: 'kallithea' - sh 'hg revert kallithea/tests/test.ini' - sh 'sed -i.bak s/^sqlalchemy\\.url.*$/sqlalchemy.url=postgresql:\\\\/\\\\/kallithea:kallithea@jenkins_postgresql\\\\/kallithea_test/g kallithea/tests/test.ini' sh """$activatevirtualenv pip install --upgrade psycopg2 """