Skip to content

Commit 0c6db1a

Browse files
committed
chore(CI): update Python for Node 17
1 parent 1c72466 commit 0c6db1a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ before_install:
1313
install:
1414
- echo "Avoid Travis's npm auto-install"
1515
before_script: >
16+
node_version=$(node -v);
17+
if [ ${node_version:1:2} = "17" ]; then
18+
echo "Updating Python"
19+
apk add --update --no-cache python3
20+
fi
1621
npm install --legacy-peer-deps --no-save "eslint@${ESLINT}"
1722
notifications:
1823
email: false

0 commit comments

Comments
 (0)