From 4078ef8ef5ff2a0e7c3affd0607db08cfd64e03f Mon Sep 17 00:00:00 2001 From: Pratik Vyas Date: Thu, 6 Feb 2014 13:06:10 +0530 Subject: [PATCH] add travis build script --- .travis.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..c6402feace --- /dev/null +++ b/.travis.yml @@ -0,0 +1,30 @@ +anguage: python + +python: + - "2.7" + +services: + - mysql + +install: + - pip install git+https://github.com/webnotes/wnframework.git@4.0.0-wip && + - pip install --editable . + +script: + cd ./test_sites/ && + webnotes --reinstall -v test_site && + webnotes --install_app erpnext -v test_site && + webnotes --run_tests -v test_site --app erpnext + +branches: + except: + - develop + - master + - 3.x.x + - slow + - webshop_refactor + +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 +