projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add tests for emails
[oweals/peertube.git]
/
.travis.yml
diff --git
a/.travis.yml
b/.travis.yml
index 5c6302bc930529bd30ddc73759f831a7f4d431a6..77c3569b835cc05bd0fb5a075e9b04206be8b04d 100644
(file)
--- a/
.travis.yml
+++ b/
.travis.yml
@@
-1,26
+1,28
@@
language: node_js
node_js:
language: node_js
node_js:
- - "6"
-
-env:
- - CXX=g++-4.8
+ - "8"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- - g++-4.
8
+ - g++-4.
9
postgresql: "9.4"
postgresql: "9.4"
+cache: yarn
+
sudo: false
services:
- postgresql
sudo: false
services:
- postgresql
+ - redis-server
+
+install:
+ - CC=gcc-4.9 CXX=g++-4.9 yarn install
before_script:
before_script:
- - npm run build
- wget --no-check-certificate "https://download.cpy.re/ffmpeg/ffmpeg-release-3.0.2-64bit-static.tar.xz"
- tar xf ffmpeg-release-3.0.2-64bit-static.tar.xz
- mkdir -p $HOME/bin
- wget --no-check-certificate "https://download.cpy.re/ffmpeg/ffmpeg-release-3.0.2-64bit-static.tar.xz"
- tar xf ffmpeg-release-3.0.2-64bit-static.tar.xz
- mkdir -p $HOME/bin
@@
-35,6
+37,17
@@
before_script:
- psql -c 'create database peertube_test6;' -U postgres
- psql -c "create user peertube with password 'peertube';" -U postgres
- psql -c 'create database peertube_test6;' -U postgres
- psql -c "create user peertube with password 'peertube';" -U postgres
+matrix:
+ include:
+ - env: TEST_SUITE=misc
+ - env: TEST_SUITE=api-fast
+ - env: TEST_SUITE=api-slow
+ - env: TEST_SUITE=cli
+ - env: TEST_SUITE=lint
+
+script:
+ - npm run travis -- "$TEST_SUITE"
+
after_failure:
- cat test1/logs/all-logs.log
- cat test2/logs/all-logs.log
after_failure:
- cat test1/logs/all-logs.log
- cat test2/logs/all-logs.log