Skip to content

Commit

Permalink
Force npm 6 or higher
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwiupover committed Apr 6, 2019
1 parent e690de9 commit f8a2a7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -5,6 +5,9 @@ node_js:
- "10"

before_install:
- if [[ `npm -v` != 6* ]]; then npm i -g npm@6; fi

# TODO: remove when we stop testing against node 6
- if [[ `npm -v` < 6* ]]; then npm i -g npm@6; fi

- npm install -g bower
- bower --version
3 changes: 1 addition & 2 deletions appveyor.yml
Expand Up @@ -12,8 +12,7 @@ init:
# Install scripts. (runs after repo cloning)
install:
- ps: Install-Product node $env:nodejs_version
- npm i -g npm@^3
- npm config set spin false
- npm i -g npm@^6
- npm install -g bower
- npm install

Expand Down

0 comments on commit f8a2a7d

Please sign in to comment.