]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Try to fix Traviis build (caused by npm 2)
authorBigard Florian <florian.bigard@gmail.com>
Wed, 21 Sep 2016 07:02:25 +0000 (09:02 +0200)
committerGitHub <noreply@github.com>
Wed, 21 Sep 2016 07:02:25 +0000 (09:02 +0200)
.travis.yml

index e6a92d883134ef4b0d9d577c96a0464b982fbe45..f32a8f842d78dec1791ebad1dfc109f497cf7270 100644 (file)
@@ -18,6 +18,8 @@ sudo: false
 
 services:
   - mongodb
+  
+before_install: if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
 
 before_script:
   - npm install electron-prebuilt -g