brotherton-erpnext/.travis.yml

39 lines
1.3 KiB
YAML
Raw Normal View History

2014-02-06 09:29:05 +00:00
language: python
2013-12-24 06:47:59 +00:00
python:
- "2.7"
services:
- mysql
install:
2014-03-25 13:09:35 +00:00
- sudo service mysql stop
- sudo apt-get install python-software-properties
- sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
2015-04-27 11:18:33 +00:00
- sudo add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu precise main'
2014-03-25 13:09:35 +00:00
- sudo apt-get update
- sudo apt-get purge -y mysql-common
- sudo apt-get install mariadb-server mariadb-common libmariadbclient-dev
2014-10-12 14:05:46 +00:00
- ./ci/fix-mariadb.sh
2015-01-12 07:18:27 +00:00
- sudo apt-get install xfonts-75dpi xfonts-base -y
2015-01-21 07:09:26 +00:00
- wget http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.2.1/wkhtmltox-0.12.2.1_linux-precise-amd64.deb
- sudo dpkg -i wkhtmltox-0.12.2.1_linux-precise-amd64.deb
2015-03-31 07:43:52 +00:00
- CFLAGS=-O0 pip install git+https://github.com/frappe/frappe.git@v4.x.x
2014-07-30 06:20:05 +00:00
- CFLAGS=-O0 pip install --editable .
2013-12-24 06:47:59 +00:00
before_script:
- mysql -e 'create database test_frappe'
- echo "USE mysql;\nCREATE USER 'test_frappe'@'localhost' IDENTIFIED BY 'test_frappe';\nFLUSH PRIVILEGES;\n" | mysql -u root
2014-07-30 11:19:05 +00:00
- echo "USE mysql;\nGRANT ALL PRIVILEGES ON \`test_frappe\`.* TO 'test_frappe'@'localhost';\n" | mysql -u root
2014-04-09 14:33:27 +00:00
script:
2014-05-04 10:42:59 +00:00
- cd ./test_sites/
- frappe --use test_site
- frappe --reinstall
- frappe --install_app erpnext --verbose
- frappe -b
2014-06-30 12:38:07 +00:00
- frappe --build_website
2014-05-04 10:42:59 +00:00
- frappe --serve_test &
- frappe --verbose --run_tests --app erpnext