BUILD: enhance Travis-CI config

- enable build of fastcgi binaries
- separately build client and manager
This commit is contained in:
Christian Beer 2015-01-11 12:56:37 +01:00
parent b1ee6b00c4
commit f98249ed7c
1 changed files with 7 additions and 4 deletions

View File

@ -19,6 +19,7 @@ env:
- BOINC_TYPE=libs
- BOINC_TYPE=server
- BOINC_TYPE=client
- BOINC_TYPE=manager
matrix:
fast_finish: true
@ -27,9 +28,10 @@ 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
- 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
- if [[ "${BOINC_TYPE}" == "manager" ]]; then ( sudo apt-get install libssl-dev libxss-dev libnotify-dev libxcb-util0-dev libsqlite3-dev libwxgtk3.0-dev libwxgtk-webview3.0-dev ) fi
before_script:
- ./_autosetup
@ -37,4 +39,5 @@ before_script:
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
- if [[ "${BOINC_TYPE}" == "client" ]]; then ( ./configure --disable-server --disable-manager && make ) fi
- if [[ "${BOINC_TYPE}" == "manager" ]]; then ( ./configure --disable-server --disable-client && make ) fi