We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c72466 commit 604b400Copy full SHA for 604b400
.travis.yml
@@ -13,6 +13,16 @@ before_install:
13
install:
14
- echo "Avoid Travis's npm auto-install"
15
before_script: >
16
+ node_version=$(node -v);
17
+ if [ ${node_version:1:2} = "17" ]; then
18
+ echo "Deadsnakes"
19
+ sudo add-apt-repository --yes ppa:deadsnakes/ppa
20
+ echo "Update apt-get"
21
+ sudo apt-get update
22
+ echo "Install Python3"
23
+ sudo apt-get --assume-yes install python3.6
24
+ ln -sf /usr/bin/python3.6 /usr/bin/python3
25
+ fi;
26
npm install --legacy-peer-deps --no-save "eslint@${ESLINT}"
27
notifications:
28
email: false
0 commit comments