From d726ce5e9e3fc963fce43036ee4d5febbc01e98f Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Mon, 17 Aug 2015 15:13:58 +0530 Subject: [PATCH] [fix] travis --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f6c4eeecd9..cb3dd5e4b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,6 @@ install: - wget https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh - sudo bash setup_frappe.sh --skip-setup-bench --mysql-root-password travis - sudo pip install --upgrade pip - - sudo service redis-server start - rm $TRAVIS_BUILD_DIR/.git/shallow - cd ~/ && bench init frappe-bench --frappe-path https://github.com/frappe/frappe.git --frappe-branch develop - cp -r $TRAVIS_BUILD_DIR/test_sites/test_site ~/frappe-bench/sites/ @@ -24,9 +23,13 @@ script: - cd ~/frappe-bench - bench get-app erpnext $TRAVIS_BUILD_DIR - bench use test_site + - bench setup redis-cache + - bench setup redis-async-broker + - bench setup procfile --with-celery-broker - bench reinstall + - bench build - bench build-website - - bench serve & + - bench start & - sleep 10 - bench --verbose run-tests --driver Firefox