blob: 866e9b17951ceef0136f267f50d2c327b4d75535 [file] [log] [blame]
language: python
python:
- "2.7"
services:
- mysql
install:
- CFLAGS=-O0 pip install git+https://github.com/frappe/wnframework.git@4.0.0-wip &&
- pip install --editable .
script:
cd ./test_sites/ &&
frappe --reinstall -v test_site &&
frappe --install_app erpnext -v test_site &&
frappe --run_tests -v test_site --app erpnext
before_script:
- mysql -e 'create database travis' &&
- echo "USE mysql;\nUPDATE user SET password=PASSWORD('travis') WHERE user='travis';\nFLUSH PRIVILEGES;\n" | mysql -u root