Skip to content

Commit

Permalink
ci: retry on npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Aug 30, 2017
1 parent 74cadb2 commit 1e242e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ git:
depth: 999
before_install:
- if [[ `npm -v` < 5* ]]; then npm install -g npm@5; fi
install:
- travis_retry npm install
script:
- npm run test
env:
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ branches:
install:
- ps: Install-Product node $env:nodejs_version
- IF %nodejs_version% LSS 5 npm -g install npm@5
- npm install
- appveyor-retry npm install
platform:
- x86
- x64
Expand Down

0 comments on commit 1e242e1

Please sign in to comment.