Pratik Vyas | 70e2a50 | 2014-02-06 14:07:15 +0530 | [diff] [blame^] | 1 | language: python |
Pratik Vyas | 4078ef8 | 2014-02-06 13:06:10 +0530 | [diff] [blame] | 2 | |
| 3 | python: |
| 4 | - "2.7" |
| 5 | |
| 6 | services: |
| 7 | - mysql |
| 8 | |
| 9 | install: |
| 10 | - pip install git+https://github.com/webnotes/wnframework.git@4.0.0-wip && |
| 11 | - pip install --editable . |
| 12 | |
| 13 | script: |
| 14 | cd ./test_sites/ && |
| 15 | webnotes --reinstall -v test_site && |
| 16 | webnotes --install_app erpnext -v test_site && |
| 17 | webnotes --run_tests -v test_site --app erpnext |
| 18 | |
| 19 | branches: |
| 20 | except: |
| 21 | - develop |
| 22 | - master |
| 23 | - 3.x.x |
| 24 | - slow |
| 25 | - webshop_refactor |
| 26 | |
| 27 | before_script: |
| 28 | - mysql -e 'create database travis' && |
| 29 | - echo "USE mysql;\nUPDATE user SET password=PASSWORD('travis') WHERE user='travis';\nFLUSH PRIVILEGES;\n" | mysql -u root |
| 30 | |