From 2af558598c784fefc9ab617fa288e450c330373b Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Sun, 4 May 2014 16:12:59 +0530 Subject: [PATCH] Fixed travis --- .travis.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1e78cebc63..59acb5c0e4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,13 +18,14 @@ install: - pip install --editable . script: - cd ./test_sites/ && - frappe --use test_site && - frappe --reinstall && - frappe --install_app erpnext --verbose && - frappe --verbose --run_tests --app erpnext + - cd ./test_sites/ + - frappe --use test_site + - frappe --reinstall + - frappe --install_app erpnext --verbose + - frappe -b + - frappe --serve_test & + - frappe --verbose --run_tests --app erpnext before_script: - - mysql -e 'create database test_site' && - - echo "USE mysql;\nUPDATE user SET password=PASSWORD('test_site') WHERE user='test_site';\nFLUSH PRIVILEGES;\n" | mysql -u root - + - mysql -e 'create database test_frappe' + - echo "USE mysql;\nCREATE USER 'test_frappe'@'localhost' IDENTIFIED BY 'test_frappe';\nFLUSH PRIVILEGES;\n" | mysql -u root