brotherton-erpnext/.travis.yml

24 lines
827 B
YAML
Raw Normal View History

2014-02-06 09:29:05 +00:00
language: python
2013-12-24 06:47:59 +00:00
python:
- "2.7"
services:
- mysql
install:
2014-02-14 10:40:03 +00:00
- CFLAGS=-O0 pip install git+https://github.com/frappe/frappe.git@develop &&
2013-12-24 06:47:59 +00:00
- pip install --editable .
script:
cd ./test_sites/ &&
2014-02-14 10:24:43 +00:00
frappe --reinstall -v test_site &&
frappe --install_app erpnext -v test_site &&
frappe --request '?cmd=erpnext.setup.page.setup_wizard.setup_wizard.setup_account&currency=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' &&
2014-02-14 10:24:43 +00:00
frappe --run_tests -v test_site --app erpnext
2013-12-24 06:47:59 +00:00
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