Pratik Vyas | cc9bc95 | 2014-02-06 14:59:05 +0530 | [diff] [blame] | 1 | language: python |
Pratik Vyas | f437e86 | 2013-12-24 12:17:59 +0530 | [diff] [blame] | 2 | |
| 3 | python: |
| 4 | - "2.7" |
| 5 | |
| 6 | services: |
| 7 | - mysql |
| 8 | |
| 9 | install: |
Pratik Vyas | ed20b68 | 2014-02-14 16:10:03 +0530 | [diff] [blame] | 10 | - CFLAGS=-O0 pip install git+https://github.com/frappe/frappe.git@develop && |
Pratik Vyas | f437e86 | 2013-12-24 12:17:59 +0530 | [diff] [blame] | 11 | - pip install --editable . |
| 12 | |
| 13 | script: |
| 14 | cd ./test_sites/ && |
Rushabh Mehta | 86903e5 | 2014-02-14 15:54:43 +0530 | [diff] [blame] | 15 | frappe --reinstall -v test_site && |
| 16 | frappe --install_app erpnext -v test_site && |
Pratik Vyas | a08855a | 2014-02-20 00:06:35 +0530 | [diff] [blame] | 17 | 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 && |
Rushabh Mehta | 86903e5 | 2014-02-14 15:54:43 +0530 | [diff] [blame] | 18 | frappe --run_tests -v test_site --app erpnext |
Pratik Vyas | f437e86 | 2013-12-24 12:17:59 +0530 | [diff] [blame] | 19 | |
| 20 | before_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 | |