2015-10-30 22:08:46 +03:00
|
|
|
language: node_js
|
|
|
|
|
|
|
|
node_js:
|
2016-09-21 23:57:10 +03:00
|
|
|
- "4.5"
|
|
|
|
- "6.6"
|
2015-11-11 16:57:28 +03:00
|
|
|
|
2016-05-12 00:00:44 +03:00
|
|
|
sudo: false
|
2015-10-30 22:08:46 +03:00
|
|
|
|
|
|
|
services:
|
2015-11-11 16:57:28 +03:00
|
|
|
- mongodb
|
2016-09-21 23:57:10 +03:00
|
|
|
|
2016-09-21 10:02:25 +03:00
|
|
|
before_install: if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
|
2015-10-30 22:08:46 +03:00
|
|
|
|
|
|
|
before_script:
|
2016-04-29 17:52:32 +03:00
|
|
|
- npm run build
|
2016-05-12 16:56:33 +03:00
|
|
|
- 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 09:51:19 +03:00
|
|
|
- mkdir -p $HOME/bin
|
|
|
|
- cp ffmpeg-*-64bit-static/{ffmpeg,ffprobe,ffserver} $HOME/bin
|
|
|
|
- export PATH=$HOME/bin:$PATH
|
2016-07-20 18:53:39 +03:00
|
|
|
- export NODE_TEST_IMAGE=true
|
2015-10-30 22:08:46 +03:00
|
|
|
|
|
|
|
after_failure:
|
2015-11-11 16:57:28 +03:00
|
|
|
- cat test1/logs/all-logs.log
|
|
|
|
- cat test2/logs/all-logs.log
|
|
|
|
- cat test3/logs/all-logs.log
|
2015-12-06 23:37:46 +03:00
|
|
|
- cat test4/logs/all-logs.log
|
|
|
|
- cat test5/logs/all-logs.log
|
|
|
|
- cat test6/logs/all-logs.log
|