From 4c3c7fc45ce407b854f8fa44afc184833473d335 Mon Sep 17 00:00:00 2001 From: Chinmay Pai Date: Thu, 27 Sep 2018 13:19:47 +0530 Subject: [PATCH] travis: replace unexisting command option `--skip-bench-mkdir` does not exist, and it breaks travis we replace it with `--ignore-exists` Signed-off-by: Chinmay Pai --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6c78c5e5..bf15e5f7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ install: - docker-compose build - docker-compose up -d - docker exec -it -u root frappe bash -c "cd /home/frappe && chown -R frappe:frappe ./*" - - docker exec -i frappe bash -c "cd .. && bench init frappe-bench --skip-bench-mkdir --skip-redis-config-generation && cd frappe-bench" + - docker exec -i frappe bash -c "cd .. && bench init frappe-bench --ignore-exist --skip-redis-config-generation && cd frappe-bench" - docker exec -i frappe bash -c "mv Procfile_docker Procfile && mv sites/common_site_config_docker.json sites/common_site_config.json" - docker exec -i frappe bash -c "bench new-site site1.local" - docker exec -i -u root frappe bash -c "echo 127.0.0.1 site1.local >> /etc/hosts"