2015-01-09 17:58:03 +00:00
|
|
|
language: cpp
|
2015-02-10 10:35:41 +00:00
|
|
|
compiler:
|
|
|
|
- gcc
|
2015-02-05 07:16:30 +00:00
|
|
|
# - clang
|
2015-01-09 17:58:03 +00:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2015-02-10 09:10:53 +00:00
|
|
|
- coverity_scan
|
2015-01-09 17:58:03 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- boinc_cvs@ssl.berkeley.edu
|
|
|
|
on_success: always
|
|
|
|
on_failure: always
|
|
|
|
|
|
|
|
env:
|
2015-02-10 09:10:53 +00:00
|
|
|
global:
|
|
|
|
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
|
|
|
|
# via the "travis encrypt" command using the project repo's public key
|
|
|
|
- secure: "Rd++Hyurnwd/tvjH0PX2seO3QUZ6WOf8bSB2ZkKPfZCU6+tXVMvloyog6Mlc7vl0m3WFAzw24MDtNLFBUktRsVXOkqDup1s6PdkwwcwG+5wAnydN+kXF9PcqKyOi0xJvl48Wji+r92Y9SCLzPnQGjZg70xHET22bDZHt2FsjP80="
|
2015-02-10 10:35:41 +00:00
|
|
|
matrix:
|
|
|
|
- BOINC_TYPE=libs
|
|
|
|
- BOINC_TYPE=server
|
|
|
|
- BOINC_TYPE=client
|
|
|
|
#- BOINC_TYPE=manager
|
|
|
|
#- BOINC_TYPE=coverity
|
2015-01-09 17:58:03 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
|
|
|
|
install:
|
2015-01-11 11:56:37 +00:00
|
|
|
- sudo apt-get install make m4 pkg-config dh-autoreconf freeglut3-dev libxmu-dev libxi-dev libjpeg62-dev -qq
|
|
|
|
- if [[ "${BOINC_TYPE}" == "server" ]]; then ( sudo apt-get install python libssl-dev python-mysqldb libmysqlclient-dev libfcgi-dev -qq ) fi
|
|
|
|
- if [[ "${BOINC_TYPE}" == "client" ]]; then ( sudo apt-get install libssl-dev libcurl4-openssl-dev libxss-dev libnotify-dev libxcb-util0-dev -qq ) fi
|
2015-01-11 12:15:52 +00:00
|
|
|
- if [[ "${BOINC_TYPE}" == "manager" ]]; then ( sudo apt-get install libssl-dev libxss-dev libnotify-dev libxcb-util0-dev libsqlite3-dev ) fi
|
2015-02-10 10:35:41 +00:00
|
|
|
- if [[ "${BOINC_TYPE}" == "coverity" ]]; then ( sudo apt-get install python libssl-dev python-mysqldb libmysqlclient-dev libfcgi-dev libcurl4-openssl-dev libxss-dev libnotify-dev libxcb-util0-dev -qq ) fi
|
2015-01-09 17:58:03 +00:00
|
|
|
|
|
|
|
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
|
2015-01-11 11:56:37 +00:00
|
|
|
- if [[ "${BOINC_TYPE}" == "client" ]]; then ( ./configure --disable-server --disable-manager && make ) fi
|
|
|
|
- if [[ "${BOINC_TYPE}" == "manager" ]]; then ( ./configure --disable-server --disable-client && make ) fi
|
2015-02-10 09:10:53 +00:00
|
|
|
|
|
|
|
addons:
|
|
|
|
coverity_scan:
|
|
|
|
project:
|
|
|
|
name: "BOINC/boinc"
|
|
|
|
description: "Build submitted via Travis CI"
|
|
|
|
notification_email: christian.beer@posteo.de
|
2015-02-10 10:35:41 +00:00
|
|
|
build_command_prepend: "./configure --disable-manager"
|
2015-02-10 09:10:53 +00:00
|
|
|
build_command: "make -j 4"
|
|
|
|
branch_pattern: coverity_scan
|