fix(travis): Remove travis/bench_init.sh
This commit is contained in:
parent
3f6ac2d993
commit
23f24d13dd
@ -36,8 +36,9 @@ install:
|
||||
- git clone https://github.com/frappe/bench --depth 1
|
||||
- pip install -e ./bench
|
||||
|
||||
- rm $TRAVIS_BUILD_DIR/.git/shallow
|
||||
- bash $TRAVIS_BUILD_DIR/travis/bench_init.sh
|
||||
- git clone https://github.com/frappe/frappe --branch $TRAVIS_BRANCH --depth 1
|
||||
- bench init --frappe-path ~/frappe --python $(which python) frappe-bench
|
||||
|
||||
- cp -r $TRAVIS_BUILD_DIR/test_sites/test_site ~/frappe-bench/sites/
|
||||
|
||||
before_script:
|
||||
|
@ -1,8 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd ~/
|
||||
curl -I https://github.com/frappe/frappe/tree/$TRAVIS_BRANCH | head -n 1 | cut -d $' ' -f2 | (
|
||||
read response;
|
||||
[ $response == '200' ] && branch=$TRAVIS_BRANCH || branch='develop';
|
||||
bench init frappe-bench --frappe-path https://github.com/frappe/frappe.git --frappe-branch $branch --python $(which python)
|
||||
)
|
Loading…
Reference in New Issue
Block a user