Skip to content
Snippets Groups Projects
Commit fc99d117 authored by Mingye Wang's avatar Mingye Wang Committed by Eugen Rochko
Browse files

Convert to "container-based" travis build (#2449)

* Convert to "container-based" travis build

Since all ppa sources used are currently whitelisted by Travis, why don't we convert to a "sudo-less" structure that promises a shorter build start time?

* Explicitly disable sudo in Travis
parent 48652cb4
No related branches found
No related tags found
No related merge requests found
language: ruby language: ruby
cache: bundler cache: bundler
dist: trusty dist: trusty
sudo: required sudo: false
notifications: notifications:
email: false email: false
...@@ -14,6 +14,13 @@ env: ...@@ -14,6 +14,13 @@ env:
- CXX=g++-4.8 - CXX=g++-4.8
addons: addons:
postgresql: 9.4 postgresql: 9.4
apt:
sources:
- ubuntu-toolchain-r-test
- trusty-media
packages:
- g++-4.8
- ffmpeg
rvm: rvm:
- 2.3.4 - 2.3.4
...@@ -24,11 +31,6 @@ services: ...@@ -24,11 +31,6 @@ services:
bundler_args: --without development production --retry=3 --jobs=3 bundler_args: --without development production --retry=3 --jobs=3
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:mc3man/trusty-media
- sudo apt-get -qq update
- sudo apt-get -qq install g++-4.8 ffmpeg
install: install:
- nvm install - nvm install
- npm install -g yarn - npm install -g yarn
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment