blob: 866e9b17951ceef0136f267f50d2c327b4d75535 [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:
Rushabh Mehta86903e52014-02-14 15:54:43 +053010 - CFLAGS=-O0 pip install git+https://github.com/frappe/wnframework.git@4.0.0-wip &&
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