X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.travis.yml;h=d252ae6252b80ab99896ee83147d1cf32599fd45;hb=d4c9f45b31eda0b7a391ddc83eb290ca5cba311f;hp=4cf90e818d40fb2dd38ed1e4cb379003590f8074;hpb=288178bf02984c7e6dc69241918b88234a0dcb91;p=github%2FChocobozzz%2FPeerTube.git diff --git a/.travis.yml b/.travis.yml index 4cf90e818..d252ae625 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 @@ -29,25 +32,28 @@ before_script: - 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 - 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 npm run travis -- "$TEST_SUITE" + - NODE_PENDING_JOB_WAIT=1000 travis_retry npm run travis -- "$TEST_SUITE" after_failure: - - cat test1/logs/all-logs.log - - cat test2/logs/all-logs.log - - cat test3/logs/all-logs.log - - cat test4/logs/all-logs.log - - cat test5/logs/all-logs.log - - cat test6/logs/all-logs.log + - cat test1/logs/peertube.log + - cat test2/logs/peertube.log + - cat test3/logs/peertube.log + - cat test4/logs/peertube.log + - cat test5/logs/peertube.log + - cat test6/logs/peertube.log