From 770c32a370132997b15fb8718c29ca986a23f09d Mon Sep 17 00:00:00 2001 From: Andrew Karpow Date: Sat, 2 May 2015 01:41:08 +0200 Subject: [PATCH] replaced deprecated drone.yml with travis-ci --- .drone.yml | 17 ----------------- .travis.yml | 14 ++++++++++++++ README.md | 1 + 3 files changed, 15 insertions(+), 17 deletions(-) delete mode 100644 .drone.yml create mode 100644 .travis.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index f5bb9cc50..000000000 --- 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 000000000..f0fcecb3c --- /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 18d5b6b15..9561a80df 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 ====