diff options
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 |