travis: Self-update npm in eslint env
This commit is contained in:
parent
e64987d08c
commit
6c1ee07c85
@ -136,6 +136,7 @@ elif TRAVIS_OS == 'linux':
|
||||
apt_get(['install', '-t', 'trusty-updates', 'python3.4'])
|
||||
|
||||
if TESTENV == 'eslint':
|
||||
folded_cmd(['sudo', 'npm', 'install', '-g', 'npm'])
|
||||
folded_cmd(['sudo', 'npm', 'install', '-g', 'eslint'])
|
||||
else:
|
||||
check_setup('python3')
|
||||
|
Loading…
Reference in New Issue
Block a user