Skip to content

Commit

Permalink
chore(CI): update Python for Node 17
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 committed Oct 23, 2021
1 parent 1c72466 commit b25bb34
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Expand Up @@ -13,6 +13,15 @@ before_install:
install:
- echo "Avoid Travis's npm auto-install"
before_script: >
node_version=$(node -v);
if [ ${node_version:1:2} = "17" ]; then
echo "Deadsnakes"
sudo add-apt-repository --yes ppa:deadsnakes/ppa
echo "Update apt-get"
sudo apt-get update
echo "Install Python3"
sudo apt-get --assume-yes install python3.6
fi;
npm install --legacy-peer-deps --no-save "eslint@${ESLINT}"
notifications:
email: false
Expand Down

0 comments on commit b25bb34

Please sign in to comment.