From 7eab7eda0ec1b56fa3094aad9d620f52499fb201 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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index be648d81a..5f7dd5466 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,10 @@ before_install: install: - echo "Avoid Travis's npm auto-install" before_script: > + if [ -n "${UPDATE_PYTHON-}" ]; then + echo "Updating Python" + apk add --update --no-cache python3 + fi npm install --legacy-peer-deps --no-save "eslint@${ESLINT}" notifications: email: false @@ -29,6 +33,8 @@ jobs: include: - node_js: 'lts/*' env: LINT=true + - node_js: '17' + env: UPDATE_PYTHON=true after_success: - export NODE_ENV=production - npm run build