Aditya Hase | f397acc | 2019-05-01 11:31:08 +0530 | [diff] [blame] | 1 | #!/bin/bash |
2 | |||||
3 | set -e | ||||
4 | |||||
5 | if [[ $TEST_TYPE == 'Server Side Test' ]]; then | ||||
6 | bench run-tests --app erpnext --coverage | ||||
7 | |||||
8 | elif [[ $TEST_TYPE == 'Patch Test' ]]; then | ||||
9 | wget http://build.erpnext.com/20171108_190013_955977f8_database.sql.gz | ||||
10 | bench --force restore ~/frappe-bench/20171108_190013_955977f8_database.sql.gz --mariadb-root-password travis | ||||
11 | bench migrate | ||||
12 | fi |