blob: c4e2ea57e080f72acefa50e01e9dceed10f6da1e [file] [log] [blame]
Pratik Vyascc9bc952014-02-06 14:59:05 +05301language: python
Pratik Vyasf437e862013-12-24 12:17:59 +05302
3python:
4 - "2.7"
5
6services:
7 - mysql
8
9install:
Pratik Vyased20b682014-02-14 16:10:03 +053010 - CFLAGS=-O0 pip install git+https://github.com/frappe/frappe.git@develop &&
Pratik Vyasf437e862013-12-24 12:17:59 +053011 - pip install --editable .
12
13script:
14 cd ./test_sites/ &&
Anand Doshiec621192014-03-07 14:01:56 +053015 frappe --reinstall test_site &&
16 frappe --install_app erpnext test_site &&
Pratik Vyasa08855a2014-02-20 00:06:35 +053017 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' test_site &&
Anand Doshiec621192014-03-07 14:01:56 +053018 frappe --run_tests test_site --app erpnext
Pratik Vyasf437e862013-12-24 12:17:59 +053019
20before_script:
21 - mysql -e 'create database travis' &&
22 - echo "USE mysql;\nUPDATE user SET password=PASSWORD('travis') WHERE user='travis';\nFLUSH PRIVILEGES;\n" | mysql -u root
23