X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.travis.yml;h=3a73e4fc01da64a4ebee8d36a4730d308f6d772c;hb=06471769fc29a82446ed5da6c65d2e9219bec73b;hp=4add7966ab1be6a87783157da65efffd9fcb6f9d;hpb=338aef3d1ca650f683788a8adc3dead5c3e75879;p=github%2FChocobozzz%2FPeerTube.git diff --git a/.travis.yml b/.travis.yml index 4add7966a..3a73e4fc0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,10 @@ addons: - g++-4.9 postgresql: "9.4" -cache: yarn +cache: + directories: + - $HOME/.cache/yarn + - $HOME/fixtures sudo: false @@ -26,24 +29,26 @@ 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" - - tar xf ffmpeg-release-3.0.2-64bit-static.tar.xz + - wget --no-check-certificate "https://download.cpy.re/ffmpeg/ffmpeg-release-4.0.2-64bit-static.tar.xz" + - tar xf ffmpeg-release-4.0.2-64bit-static.tar.xz - mkdir -p $HOME/bin - - cp ffmpeg-*-64bit-static/{ffmpeg,ffprobe,ffserver} $HOME/bin + - cp ffmpeg-*/{ffmpeg,ffprobe} $HOME/bin - export PATH=$HOME/bin:$PATH - - export NODE_TEST_IMAGE=true - psql -c "create user peertube with password 'peertube';" -U postgres matrix: include: - env: TEST_SUITE=misc - - env: TEST_SUITE=api-fast - - env: TEST_SUITE=api-slow + - env: TEST_SUITE=api-1 + - env: TEST_SUITE=api-2 + - env: TEST_SUITE=api-3 + - env: TEST_SUITE=api-4 - env: TEST_SUITE=cli - env: TEST_SUITE=lint + - env: TEST_SUITE=jest script: - - travis_retry killall peertube ; npm run travis -- "$TEST_SUITE" + - travis_retry npm run travis -- "$TEST_SUITE" after_failure: - cat test1/logs/all-logs.log