]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - .travis.yml
Fix UI regressions
[github/Chocobozzz/PeerTube.git] / .travis.yml
CommitLineData
2696b9af
C
1language: node_js
2
3node_js:
ce33ee01 4 - "8"
1eb6997e 5
d22629bd
C
6addons:
7 apt:
8 sources:
9 - ubuntu-toolchain-r-test
10 packages:
3ae6376a 11 - g++-4.9
da268a97 12 postgresql: "9.4"
d22629bd 13
bf57f073
C
14cache: yarn
15
6f1b0869 16sudo: false
2696b9af
C
17
18services:
da268a97 19 - postgresql
90dea7dc 20 - redis-server
37836274 21
393b5ab8
C
22install:
23 - CC=gcc-4.9 CXX=g++-4.9 yarn install
24
2696b9af 25before_script:
504b79cb
BF
26 - 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
c8d90fdb
BF
28 - mkdir -p $HOME/bin
29 - cp ffmpeg-*-64bit-static/{ffmpeg,ffprobe,ffserver} $HOME/bin
30 - export PATH=$HOME/bin:$PATH
2bd3f171 31 - export NODE_TEST_IMAGE=true
a25970cc 32 - psql -c "create user peertube with password 'peertube';" -U postgres
2696b9af 33
18530063
C
34matrix:
35 include:
98ec8b8e 36 - env: TEST_SUITE=misc
15f25480
C
37 - env: TEST_SUITE=api-fast
38 - env: TEST_SUITE=api-slow
18530063
C
39 - env: TEST_SUITE=cli
40 - env: TEST_SUITE=lint
41
42script:
87337d41 43 - travis_retry npm run travis -- "$TEST_SUITE"
18530063 44
2696b9af 45after_failure:
1eb6997e
C
46 - cat test1/logs/all-logs.log
47 - cat test2/logs/all-logs.log
48 - cat test3/logs/all-logs.log
e5993adc
C
49 - cat test4/logs/all-logs.log
50 - cat test5/logs/all-logs.log
51 - cat test6/logs/all-logs.log