]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - .travis.yml
Fix start/count/sort params in documentation
[github/Chocobozzz/PeerTube.git] / .travis.yml
index d71d2f212cf43bef7ffcd431550f6a29d9869bdb..51892e5040bb504aee7131e8dd8dbfdc644f3555 100644 (file)
@@ -3,10 +3,6 @@ language: node_js
 node_js:
   - "8"
 
-env:
-  - CXX=g++-4.9
-  - CC=gcc-4.9
-
 addons:
   apt:
     sources:
@@ -21,6 +17,10 @@ sudo: false
 
 services:
   - postgresql
+  - redis-server
+
+install:
+  - CC=gcc-4.9 CXX=g++-4.9 yarn install
 
 before_script:
   - wget --no-check-certificate "https://download.cpy.re/ffmpeg/ffmpeg-release-3.0.2-64bit-static.tar.xz"
@@ -46,7 +46,7 @@ matrix:
   - env: TEST_SUITE=lint
 
 script:
-  - npm run travis -- "$TEST_SUITE"
+  - travis_retry npm run travis -- "$TEST_SUITE"
 
 after_failure:
   - cat test1/logs/all-logs.log