aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml58
1 files changed, 0 insertions, 58 deletions
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 3d287a782..000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,58 +0,0 @@
1language: node_js
2
3node_js:
4 - "10"
5
6git:
7 depth: 1
8
9addons:
10 apt:
11 sources:
12 - ubuntu-toolchain-r-test
13 packages:
14 - g++-4.9
15 postgresql: "9.6"
16
17cache:
18 directories:
19 - $HOME/.cache/yarn
20 - $HOME/fixtures
21
22sudo: false
23
24services:
25 - postgresql
26 - redis-server
27
28install:
29 - CC=gcc-4.9 CXX=g++-4.9 yarn install
30
31before_script:
32 - wget --no-check-certificate "https://download.cpy.re/ffmpeg/ffmpeg-release-4.0.3-64bit-static.tar.xz"
33 - tar xf ffmpeg-release-4.0.3-64bit-static.tar.xz
34 - mkdir -p $HOME/bin
35 - cp ffmpeg-*/{ffmpeg,ffprobe} $HOME/bin
36 - export PATH=$HOME/bin:$PATH
37 - psql -c "create user peertube with password 'peertube';" -U postgres
38
39matrix:
40 include:
41 - env: TEST_SUITE=misc
42 - env: TEST_SUITE=api-1
43 - env: TEST_SUITE=api-2
44 - env: TEST_SUITE=api-3
45 - env: TEST_SUITE=api-4
46 - env: TEST_SUITE=cli
47 - env: TEST_SUITE=lint
48
49script:
50 - NODE_PENDING_JOB_WAIT=2000 travis_retry npm run ci -- "$TEST_SUITE"
51
52after_failure:
53 - cat test1/logs/peertube.log
54 - cat test2/logs/peertube.log
55 - cat test3/logs/peertube.log
56 - cat test4/logs/peertube.log
57 - cat test5/logs/peertube.log
58 - cat test6/logs/peertube.log