diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml index 9fd54447c..d252ae625 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -14,7 +14,10 @@ addons: | |||
14 | - g++-4.9 | 14 | - g++-4.9 |
15 | postgresql: "9.4" | 15 | postgresql: "9.4" |
16 | 16 | ||
17 | cache: yarn | 17 | cache: |
18 | directories: | ||
19 | - $HOME/.cache/yarn | ||
20 | - $HOME/fixtures | ||
18 | 21 | ||
19 | sudo: false | 22 | sudo: false |
20 | 23 | ||
@@ -39,17 +42,18 @@ matrix: | |||
39 | - env: TEST_SUITE=api-1 | 42 | - env: TEST_SUITE=api-1 |
40 | - env: TEST_SUITE=api-2 | 43 | - env: TEST_SUITE=api-2 |
41 | - env: TEST_SUITE=api-3 | 44 | - env: TEST_SUITE=api-3 |
45 | - env: TEST_SUITE=api-4 | ||
42 | - env: TEST_SUITE=cli | 46 | - env: TEST_SUITE=cli |
43 | - env: TEST_SUITE=lint | 47 | - env: TEST_SUITE=lint |
44 | - env: TEST_SUITE=jest | 48 | - env: TEST_SUITE=jest |
45 | 49 | ||
46 | script: | 50 | script: |
47 | - travis_retry npm run travis -- "$TEST_SUITE" | 51 | - NODE_PENDING_JOB_WAIT=1000 travis_retry npm run travis -- "$TEST_SUITE" |
48 | 52 | ||
49 | after_failure: | 53 | after_failure: |
50 | - cat test1/logs/all-logs.log | 54 | - cat test1/logs/peertube.log |
51 | - cat test2/logs/all-logs.log | 55 | - cat test2/logs/peertube.log |
52 | - cat test3/logs/all-logs.log | 56 | - cat test3/logs/peertube.log |
53 | - cat test4/logs/all-logs.log | 57 | - cat test4/logs/peertube.log |
54 | - cat test5/logs/all-logs.log | 58 | - cat test5/logs/peertube.log |
55 | - cat test6/logs/all-logs.log | 59 | - cat test6/logs/peertube.log |