Fixed travis
This commit is contained in:
parent
6dad4e9e89
commit
2af558598c
17
.travis.yml
17
.travis.yml
@ -18,13 +18,14 @@ install:
|
|||||||
- pip install --editable .
|
- pip install --editable .
|
||||||
|
|
||||||
script:
|
script:
|
||||||
cd ./test_sites/ &&
|
- cd ./test_sites/
|
||||||
frappe --use test_site &&
|
- frappe --use test_site
|
||||||
frappe --reinstall &&
|
- frappe --reinstall
|
||||||
frappe --install_app erpnext --verbose &&
|
- frappe --install_app erpnext --verbose
|
||||||
frappe --verbose --run_tests --app erpnext
|
- frappe -b
|
||||||
|
- frappe --serve_test &
|
||||||
|
- frappe --verbose --run_tests --app erpnext
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- mysql -e 'create database test_site' &&
|
- mysql -e 'create database test_frappe'
|
||||||
- echo "USE mysql;\nUPDATE user SET password=PASSWORD('test_site') WHERE user='test_site';\nFLUSH PRIVILEGES;\n" | mysql -u root
|
- echo "USE mysql;\nCREATE USER 'test_frappe'@'localhost' IDENTIFIED BY 'test_frappe';\nFLUSH PRIVILEGES;\n" | mysql -u root
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user