Skip to content

Commit 7eab7ed

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

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ before_install:
1313
install:
1414
- echo "Avoid Travis's npm auto-install"
1515
before_script: >
16+
if [ -n "${UPDATE_PYTHON-}" ]; then
17+
echo "Updating Python"
18+
apk add --update --no-cache python3
19+
fi
1620
npm install --legacy-peer-deps --no-save "eslint@${ESLINT}"
1721
notifications:
1822
email: false
@@ -29,6 +33,8 @@ jobs:
2933
include:
3034
- node_js: 'lts/*'
3135
env: LINT=true
36+
- node_js: '17'
37+
env: UPDATE_PYTHON=true
3238
after_success:
3339
- export NODE_ENV=production
3440
- npm run build

0 commit comments

Comments
 (0)