From: Andrew Karpow Date: Fri, 1 May 2015 23:41:08 +0000 (+0200) Subject: replaced deprecated drone.yml with travis-ci X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=770c32a370132997b15fb8718c29ca986a23f09d;p=ympd.git replaced deprecated drone.yml with travis-ci --- diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index f5bb9cc..0000000 --- a/.drone.yml +++ /dev/null @@ -1,17 +0,0 @@ -image: gcc4.8 -script: - - sudo apt-get install -y libmpdclient-dev &> /dev/null - - cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=Debug - - make VERBOSE=1 -notify: - email: - recipients: - - andy@ndyk.de - irc: - server: irc.freenode.org - nick: droneBot - channel: '#nicotest' - on_started: true - on_success: true - on_failure: true - diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..f0fcecb --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +language: c + +compiler: + - gcc + - clang + +before_install: + - sudo apt-get install -qq libmpdclient-dev cmake + - mkdir build + - cd build + - cmake -D CMAKE_BUILD_TYPE=DEBUG .. + +script: make + diff --git a/README.md b/README.md index 18d5b6b..9561a80 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![Build Status](https://travis-ci.org/notandy/ympd.svg)](https://travis-ci.org/notandy/ympd) ympd ====