Skip to content

Commit

Permalink
fix linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
adlk committed Feb 17, 2022
1 parent 07af438 commit 51fc74d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,11 @@ matrix:
dist: xenial
addons:
apt:
sources:
- deadsnakes
packages:
- libx11-dev
- libxext-dev
- libxss-dev
- libxkbfile-dev
- python3.6
- os: osx
osx_image: xcode13.1

Expand All @@ -22,7 +19,7 @@ install:

script:
- npm run test
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then npm config set python python3.6; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then pyenv global 3.6.7 && npm config set python python3.6.7; fi
- npm cache clean --force # fix issue that packages can't be found eg:" `npm ERR! notarget No matching version found for @babel/helper-compilation-targets@^7.16.7.`
- travis_wait 60 npm run build

Expand Down

0 comments on commit 51fc74d

Please sign in to comment.