diff options
author | André Klitzing <aklitzing@gmail.com> | 2017-04-27 19:43:05 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-05-16 07:37:46 +0200 |
commit | f7fffc9be89c4d1bc03489f982fad20243f941b3 (patch) | |
tree | d537b489bf3db40ef6baa32b0ae9b9f6b712cd48 /.travis.yml | |
parent | 50e86340978dfe2075b678c9f241b29518bb67ad (diff) |
Add initial travis configuration
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..cea4e765d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,31 @@ +dist: trusty +language: cpp + +addons: + apt: + packages: + - libcppunit-dev + - libboost-dev + +os: + - linux + +compiler: + - gcc + +before_install: + # C++14 + - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test + - sudo apt-get update -qq + +install: + # C++14 + - sudo apt-get install -qq g++-5 + - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 90 + - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 90 + +script: + - ./autogen.sh + - ./configure --enable-test + - make + - make check |