2014-02-06 14:59:05 +05:30
|
|
|
language: python
|
2013-12-24 12:17:59 +05:30
|
|
|
|
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
|
|
|
|
services:
|
|
|
|
- mysql
|
|
|
|
|
|
|
|
install:
|
2014-02-14 16:10:03 +05:30
|
|
|
- CFLAGS=-O0 pip install git+https://github.com/frappe/frappe.git@develop &&
|
2013-12-24 12:17:59 +05:30
|
|
|
- pip install --editable .
|
|
|
|
|
|
|
|
script:
|
|
|
|
cd ./test_sites/ &&
|
2014-02-14 15:54:43 +05:30
|
|
|
frappe --reinstall -v test_site &&
|
|
|
|
frappe --install_app erpnext -v test_site &&
|
2014-02-20 00:06:35 +05:30
|
|
|
frappe --request '?cmd=erpnext.setup.page.setup_wizard.setup_wizard.setup_account¤cy=USD&first_name=Test&last_name=User&company_name=Wind+Power+LLC&timezone=America/New_York&company_abbr=WP&industry=Manufacturing&country=United states&fy_start_date=2014-01-01&fy_end_date=2014-12-31' test_site &&
|
2014-02-14 15:54:43 +05:30
|
|
|
frappe --run_tests -v test_site --app erpnext
|
2013-12-24 12:17:59 +05:30
|
|
|
|
|
|
|
before_script:
|
|
|
|
- mysql -e 'create database travis' &&
|
|
|
|
- echo "USE mysql;\nUPDATE user SET password=PASSWORD('travis') WHERE user='travis';\nFLUSH PRIVILEGES;\n" | mysql -u root
|
|
|
|
|