1
0
Fork 0
peertube/.travis.yml

58 lines
1.4 KiB
YAML
Raw Normal View History

Add travis support Squashed commit of the following: commit f9a7a1fd51dd2c857fc52923be8f2e98f059f923 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 20:05:20 2015 +0100 This is electron-prebuilt and not just electron commit a2361482942abe4443c68e61fdcfea9bf35ede61 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:58:56 2015 +0100 Let's try to change this option... commit 7ee8bfa9bf34b0165a7ef51bc9397bf86ff54878 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:39:23 2015 +0100 Explicitly say to generate a rsa key of length 2048 commit d3905aef92b537c395a9111d5d0c6f4da8b322ba Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:22:46 2015 +0100 typo commit 602cb774848da906ec693999484b618618f70846 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:21:26 2015 +0100 Add after_failure, cache for grunt and electron commit 79f7c7f7b7a9a0726de0b7b1af1cda69a4d401cc Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:10:25 2015 +0100 increase timewait when uploading a video (for the federation) commit 3c8dd590dd53ab2b069d6a52cd8e954156814304 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:00:26 2015 +0100 install grunt-cli commit 1b5d02fb067a7b4cde62a6dd5073b76e5f1ba269 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 18:55:23 2015 +0100 Trigger travis build commit ede965e1186c4dc25270c384f669f0d6749d2a9d Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 18:52:08 2015 +0100 let's try travis
2015-10-30 15:08:46 -04:00
language: node_js
node_js:
2017-12-18 05:53:04 -05:00
- "8"
2016-10-07 09:00:20 -04:00
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
2017-12-19 05:12:25 -05:00
- g++-4.9
2016-12-25 04:41:51 -05:00
postgresql: "9.4"
2016-10-07 09:00:20 -04:00
2017-04-26 16:49:47 -04:00
cache: yarn
sudo: false
Add travis support Squashed commit of the following: commit f9a7a1fd51dd2c857fc52923be8f2e98f059f923 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 20:05:20 2015 +0100 This is electron-prebuilt and not just electron commit a2361482942abe4443c68e61fdcfea9bf35ede61 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:58:56 2015 +0100 Let's try to change this option... commit 7ee8bfa9bf34b0165a7ef51bc9397bf86ff54878 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:39:23 2015 +0100 Explicitly say to generate a rsa key of length 2048 commit d3905aef92b537c395a9111d5d0c6f4da8b322ba Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:22:46 2015 +0100 typo commit 602cb774848da906ec693999484b618618f70846 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:21:26 2015 +0100 Add after_failure, cache for grunt and electron commit 79f7c7f7b7a9a0726de0b7b1af1cda69a4d401cc Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:10:25 2015 +0100 increase timewait when uploading a video (for the federation) commit 3c8dd590dd53ab2b069d6a52cd8e954156814304 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:00:26 2015 +0100 install grunt-cli commit 1b5d02fb067a7b4cde62a6dd5073b76e5f1ba269 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 18:55:23 2015 +0100 Trigger travis build commit ede965e1186c4dc25270c384f669f0d6749d2a9d Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 18:52:08 2015 +0100 let's try travis
2015-10-30 15:08:46 -04:00
services:
2016-12-25 04:41:51 -05:00
- postgresql
2018-01-25 13:13:08 -05:00
- redis-server
2016-09-21 16:57:10 -04:00
2017-12-19 05:30:55 -05:00
install:
- CC=gcc-4.9 CXX=g++-4.9 yarn install
Add travis support Squashed commit of the following: commit f9a7a1fd51dd2c857fc52923be8f2e98f059f923 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 20:05:20 2015 +0100 This is electron-prebuilt and not just electron commit a2361482942abe4443c68e61fdcfea9bf35ede61 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:58:56 2015 +0100 Let's try to change this option... commit 7ee8bfa9bf34b0165a7ef51bc9397bf86ff54878 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:39:23 2015 +0100 Explicitly say to generate a rsa key of length 2048 commit d3905aef92b537c395a9111d5d0c6f4da8b322ba Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:22:46 2015 +0100 typo commit 602cb774848da906ec693999484b618618f70846 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:21:26 2015 +0100 Add after_failure, cache for grunt and electron commit 79f7c7f7b7a9a0726de0b7b1af1cda69a4d401cc Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:10:25 2015 +0100 increase timewait when uploading a video (for the federation) commit 3c8dd590dd53ab2b069d6a52cd8e954156814304 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:00:26 2015 +0100 install grunt-cli commit 1b5d02fb067a7b4cde62a6dd5073b76e5f1ba269 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 18:55:23 2015 +0100 Trigger travis build commit ede965e1186c4dc25270c384f669f0d6749d2a9d Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 18:52:08 2015 +0100 let's try travis
2015-10-30 15:08:46 -04:00
before_script:
- 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
2016-05-12 02:51:19 -04:00
- mkdir -p $HOME/bin
- cp ffmpeg-*-64bit-static/{ffmpeg,ffprobe,ffserver} $HOME/bin
- export PATH=$HOME/bin:$PATH
- export NODE_TEST_IMAGE=true
2016-12-25 04:41:51 -05:00
- psql -c 'create database peertube_test1;' -U postgres
- psql -c 'create database peertube_test2;' -U postgres
- psql -c 'create database peertube_test3;' -U postgres
- psql -c 'create database peertube_test4;' -U postgres
- psql -c 'create database peertube_test5;' -U postgres
- psql -c 'create database peertube_test6;' -U postgres
2016-12-25 04:48:00 -05:00
- psql -c "create user peertube with password 'peertube';" -U postgres
Add travis support Squashed commit of the following: commit f9a7a1fd51dd2c857fc52923be8f2e98f059f923 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 20:05:20 2015 +0100 This is electron-prebuilt and not just electron commit a2361482942abe4443c68e61fdcfea9bf35ede61 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:58:56 2015 +0100 Let's try to change this option... commit 7ee8bfa9bf34b0165a7ef51bc9397bf86ff54878 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:39:23 2015 +0100 Explicitly say to generate a rsa key of length 2048 commit d3905aef92b537c395a9111d5d0c6f4da8b322ba Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:22:46 2015 +0100 typo commit 602cb774848da906ec693999484b618618f70846 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:21:26 2015 +0100 Add after_failure, cache for grunt and electron commit 79f7c7f7b7a9a0726de0b7b1af1cda69a4d401cc Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:10:25 2015 +0100 increase timewait when uploading a video (for the federation) commit 3c8dd590dd53ab2b069d6a52cd8e954156814304 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:00:26 2015 +0100 install grunt-cli commit 1b5d02fb067a7b4cde62a6dd5073b76e5f1ba269 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 18:55:23 2015 +0100 Trigger travis build commit ede965e1186c4dc25270c384f669f0d6749d2a9d Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 18:52:08 2015 +0100 let's try travis
2015-10-30 15:08:46 -04:00
2017-10-31 12:23:57 -04:00
matrix:
include:
2017-11-30 07:16:23 -05:00
- env: TEST_SUITE=misc
- env: TEST_SUITE=api-fast
- env: TEST_SUITE=api-slow
2017-10-31 12:23:57 -04:00
- env: TEST_SUITE=cli
- env: TEST_SUITE=lint
script:
2018-06-21 08:34:59 -04:00
- travis_retry npm run travis -- "$TEST_SUITE"
2017-10-31 12:23:57 -04:00
Add travis support Squashed commit of the following: commit f9a7a1fd51dd2c857fc52923be8f2e98f059f923 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 20:05:20 2015 +0100 This is electron-prebuilt and not just electron commit a2361482942abe4443c68e61fdcfea9bf35ede61 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:58:56 2015 +0100 Let's try to change this option... commit 7ee8bfa9bf34b0165a7ef51bc9397bf86ff54878 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:39:23 2015 +0100 Explicitly say to generate a rsa key of length 2048 commit d3905aef92b537c395a9111d5d0c6f4da8b322ba Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:22:46 2015 +0100 typo commit 602cb774848da906ec693999484b618618f70846 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:21:26 2015 +0100 Add after_failure, cache for grunt and electron commit 79f7c7f7b7a9a0726de0b7b1af1cda69a4d401cc Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:10:25 2015 +0100 increase timewait when uploading a video (for the federation) commit 3c8dd590dd53ab2b069d6a52cd8e954156814304 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 19:00:26 2015 +0100 install grunt-cli commit 1b5d02fb067a7b4cde62a6dd5073b76e5f1ba269 Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 18:55:23 2015 +0100 Trigger travis build commit ede965e1186c4dc25270c384f669f0d6749d2a9d Author: Chocobozzz <florian.bigard@gmail.com> Date: Fri Oct 30 18:52:08 2015 +0100 let's try travis
2015-10-30 15:08:46 -04:00
after_failure:
- cat test1/logs/all-logs.log
- cat test2/logs/all-logs.log
- cat test3/logs/all-logs.log
- cat test4/logs/all-logs.log
- cat test5/logs/all-logs.log
- cat test6/logs/all-logs.log