Pratik Vyas | f437e86 | 2013-12-24 12:17:59 +0530 | [diff] [blame] | 1 | anguage: python |
| 2 | |
| 3 | python: |
| 4 | - "2.7" |
| 5 | |
| 6 | services: |
| 7 | - mysql |
| 8 | |
| 9 | install: |
| 10 | - pip install https://github.com/webnotes/wnframework/archive/4.0.0-wip.tar.gz && |
| 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 | |