diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-31 17:23:57 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-31 17:23:57 +0100 |
commit | 18530063feb3326369bf3871248b04de0ce4d2af (patch) | |
tree | 1b40e2cdb9d322eb34765642c161aca4edcd4a74 /.travis.yml | |
parent | 7a8032bb6d1d2fdfce9b23af13c3ed1cdfac91e9 (diff) | |
download | PeerTube-18530063feb3326369bf3871248b04de0ce4d2af.tar.gz PeerTube-18530063feb3326369bf3871248b04de0ce4d2af.tar.zst PeerTube-18530063feb3326369bf3871248b04de0ce4d2af.zip |
Try matrix to speed up travis builds
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 7b8935a32..1b611b402 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -22,7 +22,6 @@ services: | |||
22 | - postgresql | 22 | - postgresql |
23 | 23 | ||
24 | before_script: | 24 | before_script: |
25 | - npm run build | ||
26 | - wget --no-check-certificate "https://download.cpy.re/ffmpeg/ffmpeg-release-3.0.2-64bit-static.tar.xz" | 25 | - wget --no-check-certificate "https://download.cpy.re/ffmpeg/ffmpeg-release-3.0.2-64bit-static.tar.xz" |
27 | - tar xf ffmpeg-release-3.0.2-64bit-static.tar.xz | 26 | - tar xf ffmpeg-release-3.0.2-64bit-static.tar.xz |
28 | - mkdir -p $HOME/bin | 27 | - mkdir -p $HOME/bin |
@@ -37,6 +36,16 @@ before_script: | |||
37 | - psql -c 'create database peertube_test6;' -U postgres | 36 | - psql -c 'create database peertube_test6;' -U postgres |
38 | - psql -c "create user peertube with password 'peertube';" -U postgres | 37 | - psql -c "create user peertube with password 'peertube';" -U postgres |
39 | 38 | ||
39 | matrix: | ||
40 | include: | ||
41 | - env: TEST_SUITE=build_then_client | ||
42 | - env: TEST_SUITE=api | ||
43 | - env: TEST_SUITE=cli | ||
44 | - env: TEST_SUITE=lint | ||
45 | |||
46 | script: | ||
47 | - npm run travis -- "$TEST_SUITE" | ||
48 | |||
40 | after_failure: | 49 | after_failure: |
41 | - cat test1/logs/all-logs.log | 50 | - cat test1/logs/all-logs.log |
42 | - cat test2/logs/all-logs.log | 51 | - cat test2/logs/all-logs.log |