aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-31 17:23:57 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-10-31 17:23:57 +0100
commit18530063feb3326369bf3871248b04de0ce4d2af (patch)
tree1b40e2cdb9d322eb34765642c161aca4edcd4a74 /.travis.yml
parent7a8032bb6d1d2fdfce9b23af13c3ed1cdfac91e9 (diff)
downloadPeerTube-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.yml11
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
24before_script: 24before_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
39matrix:
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
46script:
47 - npm run travis -- "$TEST_SUITE"
48
40after_failure: 49after_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