fix(travis): Execute get-app and reinstall after bench start

This commit is contained in:
Aditya Hase 2019-07-25 21:23:24 +05:30
parent 1e9e471714
commit 903e87899b

View File

@ -55,11 +55,11 @@ before_script:
- mysql -u root -e "FLUSH PRIVILEGES"
- cd ~/frappe-bench
- bench get-app erpnext $TRAVIS_BUILD_DIR
- bench --site test_site reinstall --mariadb-root-username root --mariadb-root-password travis --yes
- sed -i 's/9000/9001/g' sites/common_site_config.json
- bench start &
- sleep 10
- bench get-app erpnext $TRAVIS_BUILD_DIR
- bench --site test_site reinstall --mariadb-root-username root --mariadb-root-password travis --yes
after_script:
- pip install python-coveralls