X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=.travis.yml;h=dcf7247b2d50bbf7e6b426e5ef1691ad5a78df8d;hb=3a0fb65c61f80b510bce979a45d59d17948745e8;hp=ecb44c514dae9daf6e97fc041a21084a0d1a9f98;hpb=5c617be48468e88bc3bc3329ba94b3aa7382d851;p=github%2FChocobozzz%2FPeerTube.git diff --git a/.travis.yml b/.travis.yml index ecb44c514..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 @@ -36,18 +39,20 @@ before_script: 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 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