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
2016-02-09 09:50:41 +00:00
#notifications:
# email:
# recipients:
# - boinc_cvs@ssl.berkeley.edu
# on_success: always
# on_failure: always
2015-01-09 17:58:03 +00:00
2015-02-21 19:24:55 +00:00
# This switches to the container-based infrastructure and allows caching
sudo : false
2015-03-03 07:53:35 +00:00
cache :
apt : true
directories :
2017-03-17 13:55:39 +00:00
- 3rdParty/buildCache
2015-03-03 07:53:35 +00:00
2015-02-21 19:24:55 +00:00
addons :
2015-02-21 21:00:01 +00:00
coverity_scan :
project :
name : "BOINC/boinc"
description : "Build submitted via Travis CI"
notification_email : christian.beer@posteo.de
2015-03-03 07:22:14 +00:00
build_command_prepend : "./configure --enable-apps"
2015-02-21 21:00:01 +00:00
build_command : "make -j 4"
branch_pattern : coverity_scan
2015-02-21 19:24:55 +00:00
apt_packages :
- freeglut3-dev
- libxmu-dev
- libxi-dev
2015-02-22 17:26:10 +00:00
#- python-mysqldb
2015-02-21 19:24:55 +00:00
- libfcgi-dev
2015-02-22 17:26:10 +00:00
#- libcurl4-openssl-dev
2015-12-16 17:20:54 +00:00
- libxss-dev
2015-02-21 19:24:55 +00:00
- libnotify-dev
2015-03-03 07:22:14 +00:00
- libxcb-util0-dev
2015-02-21 19:24:55 +00:00
- libsqlite3-dev
- libgtk2.0-dev
- libwebkitgtk-dev
2017-02-17 13:04:00 +00:00
- mingw-w64
- binutils-mingw-w64-i686
- binutils-mingw-w64-x86-64
- gcc-mingw-w64
- gcc-mingw-w64-i686
- gcc-mingw-w64-x86-64
- g++-mingw-w64
- g++-mingw-w64-i686
- g++-mingw-w64-x86-64
2015-02-21 19:24:55 +00:00
2015-01-09 17:58:03 +00:00
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
2015-02-12 16:16:11 +00:00
- BOINC_TYPE=apps
2015-02-22 17:26:10 +00:00
- BOINC_TYPE=manager
2017-02-17 13:04:00 +00:00
- BOINC_TYPE=libs-mingw
2017-03-23 08:06:55 +00:00
- BOINC_TYPE=apps-mingw
2015-02-10 10:35:41 +00:00
#- BOINC_TYPE=coverity
2015-01-09 17:58:03 +00:00
matrix :
fast_finish : true
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
2015-02-12 16:16:11 +00:00
- if [[ "${BOINC_TYPE}" == "apps" ]]; then ( ./configure --enable-apps --disable-server --disable-client --disable-manager && make ) fi
2017-03-20 11:35:17 +00:00
- if [[ "${BOINC_TYPE}" == "manager" ]]; then ( ./3rdParty/buildLinuxDependencies.sh && ./configure --disable-server --disable-client --with-wx-prefix=${TRAVIS_BUILD_DIR}/3rdParty/buildCache/linux && make ) fi
2017-03-23 08:06:55 +00:00
- if [[ "${BOINC_TYPE}" == "libs-mingw" ]]; then ( cd lib && MINGW=x86_64-w64-mingw32 make -f Makefile.mingw ) fi
- if [[ "${BOINC_TYPE}" == "apps-mingw" ]]; then ( cd lib && MINGW=x86_64-w64-mingw32 make -f Makefile.mingw wrapper ) fi