From 3ae20d73ef0743b335e5b913cd978196f12eea6a Mon Sep 17 00:00:00 2001 From: Christian Beer Date: Fri, 9 Jan 2015 18:58:03 +0100 Subject: [PATCH] Enable Travis-CI for master branch - An email is send only to those adresses given in .travis.yml - Only the master branch is build - The compiler gcc and clang are used - The components libraries, server and client/manager are build separately - The README.md just displays the current build status on the github mirror --- .travis.yml | 40 ++++++++++++++++++++++++++++++++++++++++ README.md | 5 +++++ 2 files changed, 45 insertions(+) create mode 100644 .travis.yml create mode 100644 README.md diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..ad1e02c96a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,40 @@ +language: cpp +compiler: + - gcc + - clang + +branches: + only: + - master + +notifications: + email: + recipients: + - boinc_cvs@ssl.berkeley.edu + - rwalton@ssl.berkeley.edu + on_success: always + on_failure: always + +env: +- BOINC_TYPE=libs +- BOINC_TYPE=server +- BOINC_TYPE=client + +matrix: + fast_finish: true + +before_install: +- sudo apt-get update -qq + +install: +- sudo apt-get install make m4 pkg-config dh-autoreconf freeglut3-dev libxmu-dev libxi-dev libjpeg62-dev +- if [[ "${BOINC_TYPE}" == "server" ]]; then ( sudo apt-get install python libssl-dev python-mysqldb libmysqlclient-dev ) fi +- if [[ "${BOINC_TYPE}" == "client" ]]; then ( sudo apt-get install libssl-dev libcurl4-openssl-dev libxss-dev libnotify-dev libxcb-util0-dev libsqlite3-dev) fi + +before_script: +- ./_autosetup + +script: +- if [[ "${BOINC_TYPE}" == "libs" ]]; then ( ./configure --disable-server --disable-client --disable-manager && make ) fi +- if [[ "${BOINC_TYPE}" == "server" ]]; then ( ./configure --disable-client --disable-manager && make ) fi +- if [[ "${BOINC_TYPE}" == "client" ]]; then ( ./configure --disable-server && make ) fi diff --git a/README.md b/README.md new file mode 100644 index 0000000000..70dfded655 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# BOINC github mirror +See official page on how to contribute: http://boinc.berkeley.edu/trac/wiki + +## Current build status +master: [![Build Status](https://travis-ci.org/BOINC/boinc-v2.svg?branch=master)](https://travis-ci.org/BOINC/boinc-v2)