From 0c6db1abb36ffca7239648dd9503b6e54c6f01d5 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Sat, 23 Oct 2021 07:50:56 +0800 Subject: [PATCH] chore(CI): update Python for Node 17 --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index be648d81a..0b1d2fd5f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,11 @@ before_install: install: - echo "Avoid Travis's npm auto-install" before_script: > + node_version=$(node -v); + if [ ${node_version:1:2} = "17" ]; then + echo "Updating Python" + apk add --update --no-cache python3 + fi npm install --legacy-peer-deps --no-save "eslint@${ESLINT}" notifications: email: false