From 2ec5b5ed8e4413e9f39ce665e1870528d6d979ff Mon Sep 17 00:00:00 2001 From: Achilles Rasquinha Date: Thu, 24 May 2018 04:46:12 -0500 Subject: [PATCH] bench init with preferred Python EXEC for CI (#13336) * bench_init.sh added python executable flag for environment setup * Added future python build matrix * udpate build matrix * Update .travis.yml * Update .travis.yml --- .travis.yml | 5 +++++ travis/bench_init.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 70df757fa3f..74ed7b7cc99 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,11 @@ dist: trusty python: - "2.7" + - "3.6" + + matrix: + - allow_failures: + - python: "3.6" services: - mysql diff --git a/travis/bench_init.sh b/travis/bench_init.sh index a8bb492ae9f..f96269b919c 100755 --- a/travis/bench_init.sh +++ b/travis/bench_init.sh @@ -4,5 +4,5 @@ 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 + bench init frappe-bench --frappe-path https://github.com/frappe/frappe.git --frappe-branch $branch --python $(which python) )