summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorNico Schlömer <nico.schloemer@gmail.com>2015-04-02 09:38:19 +0200
committerNico Schlömer <nico.schloemer@gmail.com>2015-04-02 09:38:19 +0200
commitb19d728ad2f295c7a134062d81435a53759847e6 (patch)
tree28b4e2810d2ed273faae551e34deb6193a13c53a /.travis.yml
parent74ae1f550a2d40f1107abdbf9bd894f9856178d3 (diff)
travis: use container-based infrastructure
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml33
1 files changed, 28 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 6efe06f7d6..d3ae273a06 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,13 +2,36 @@ language: c++
# to run compilation/tests with gcc and clang
compiler:
- gcc
-# Clang yields compile errors due to http://llvm.org/bugs/show_bug.cgi?id=13745. Wait for an upgrade of GCC on travis
+# Clang yields compile errors due to http://llvm.org/bugs/show_bug.cgi?id=13745.
+# Wait for an upgrade of GCC on travis
# - clang
+# Enable container-based infrastructure
+sudo: false
+ # install dependencies
+addons:
+ apt:
+ packages:
+ - scons
+ - libqt4-dev
+ - libqt4-sql-sqlite
+ - libportmidi-dev
+ - libshout3-dev
+ - libtag1-dev
+ - libprotobuf-dev
+ - protobuf-compiler
+ - libvamp-hostsdk3
+ - vamp-plugin-sdk
+ - libusb-1.0-0-dev
+ - libfftw3-dev
+ - libmad0-dev
+ - portaudio19-dev
+ - libchromaprint-dev
+ - librubberband-dev
+ - libsqlite3-dev
+ - libsndfile1-dev
+ - libflac-dev
+ - libid3tag0-dev
before_install:
- # update virtual machine
- - sudo apt-get update -qq
- # Dependencies from <http://mixxx.org/wiki/doku.php/compiling_on_linux>
- - sudo apt-get install git scons libqt4-dev libqt4-sql-sqlite libportmidi-dev libshout3-dev libtag1-dev libprotobuf-dev protobuf-compiler libvamp-hostsdk3 vamp-plugin-sdk libusb-1.0-0-dev libfftw3-dev libmad0-dev portaudio19-dev libchromaprint-dev librubberband-dev libsqlite3-dev libsndfile1-dev libflac-dev libid3tag0-dev
# Virtual X, needed for analyser waveform tests
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"