blob: 0106858d68a1583fb2d0b7efc969f033b2164756 [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/ &&
Rushabh Mehta86903e52014-02-14 15:54:43 +053015 frappe --reinstall -v test_site &&
16 frappe --install_app erpnext -v 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 &&
Rushabh Mehta86903e52014-02-14 15:54:43 +053018 frappe --run_tests -v 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