aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.travis.yml14
1 files changed, 11 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 9fcd50dee..19fcd53c6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,8 @@
1language: node_js 1language: node_js
2 2
3node_js: 3node_js:
4 - "4.6" 4 - "4"
5 - "6.9" 5 - "6"
6 6
7env: 7env:
8 - CXX=g++-4.8 8 - CXX=g++-4.8
@@ -13,11 +13,12 @@ addons:
13 - ubuntu-toolchain-r-test 13 - ubuntu-toolchain-r-test
14 packages: 14 packages:
15 - g++-4.8 15 - g++-4.8
16 postgresql: "9.4"
16 17
17sudo: false 18sudo: false
18 19
19services: 20services:
20 - mongodb 21 - postgresql
21 22
22before_install: if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi 23before_install: if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
23 24
@@ -29,6 +30,13 @@ before_script:
29 - cp ffmpeg-*-64bit-static/{ffmpeg,ffprobe,ffserver} $HOME/bin 30 - cp ffmpeg-*-64bit-static/{ffmpeg,ffprobe,ffserver} $HOME/bin
30 - export PATH=$HOME/bin:$PATH 31 - export PATH=$HOME/bin:$PATH
31 - export NODE_TEST_IMAGE=true 32 - export NODE_TEST_IMAGE=true
33 - psql -c 'create database peertube_test1;' -U postgres
34 - psql -c 'create database peertube_test2;' -U postgres
35 - psql -c 'create database peertube_test3;' -U postgres
36 - psql -c 'create database peertube_test4;' -U postgres
37 - psql -c 'create database peertube_test5;' -U postgres
38 - psql -c 'create database peertube_test6;' -U postgres
39 - psql -c 'create user peertube with password \'peertube\';' -U postgres
32 40
33after_failure: 41after_failure:
34 - cat test1/logs/all-logs.log 42 - cat test1/logs/all-logs.log