X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=.travis.yml;h=dcf7247b2d50bbf7e6b426e5ef1691ad5a78df8d;hb=3a0fb65c61f80b510bce979a45d59d17948745e8;hp=9fd54447ce033b00814a5a28853b224a59367207;hpb=7f5f4152a4cd4fc328d6ae177d281ebe7e792dd3;p=github%2FChocobozzz%2FPeerTube.git diff --git a/.travis.yml b/.travis.yml index 9fd54447c..dcf7247b2 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 @@ -39,17 +42,17 @@ matrix: - 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