fix(travis): Restructure build matrix

This commit is contained in:
Aditya Hase
2019-07-25 13:42:43 +05:30
parent 14600e6a3e
commit 7204bcb932
2 changed files with 25 additions and 23 deletions

View File

@@ -1,12 +0,0 @@
#!/bin/bash
set -e
if [[ $TEST_TYPE == 'Server Side Test' ]]; then
bench run-tests --app erpnext --coverage
elif [[ $TEST_TYPE == 'Patch Test' ]]; then
wget http://build.erpnext.com/20171108_190013_955977f8_database.sql.gz
bench --force restore ~/frappe-bench/20171108_190013_955977f8_database.sql.gz --mariadb-root-password travis
bench migrate
fi