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