blob: b4a018f7b1a566d7fc3ebcdd8aac19c7b14d959d [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 &&
17 frappe --run_tests -v test_site --app erpnext
Pratik Vyasf437e862013-12-24 12:17:59 +053018
19before_script:
20 - mysql -e 'create database travis' &&
21 - echo "USE mysql;\nUPDATE user SET password=PASSWORD('travis') WHERE user='travis';\nFLUSH PRIVILEGES;\n" | mysql -u root
22