X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.travis.yml;h=7b8935a323030c28c64b3f62f4aca07f586bef31;hb=031094f7992366d8d1f6583b205f984ffadf637a;hp=a5c55e4fca2d598b42533050060ddb67a21cecba;hpb=8fd5a3f19a71534eb838c6182455e4486779f544;p=github%2FChocobozzz%2FPeerTube.git diff --git a/.travis.yml b/.travis.yml index a5c55e4fc..7b8935a32 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,7 @@ language: node_js node_js: - - "4.2" - - "5.1" + - "6" env: - CXX=g++-4.8 @@ -13,18 +12,30 @@ addons: - ubuntu-toolchain-r-test packages: - g++-4.8 + postgresql: "9.4" -sudo: true +cache: yarn + +sudo: false services: - - mongodb + - postgresql before_script: - - npm install electron-prebuilt -g - npm run build - - sudo add-apt-repository ppa:pavlyshko/precise -y - - sudo apt-get update -q - - sudo apt-get install ffmpeg -y + - 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 + - cp ffmpeg-*-64bit-static/{ffmpeg,ffprobe,ffserver} $HOME/bin + - export PATH=$HOME/bin:$PATH + - export NODE_TEST_IMAGE=true + - 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 + - psql -c "create user peertube with password 'peertube';" -U postgres after_failure: - cat test1/logs/all-logs.log