|
|
@ -43,14 +43,19 @@ addons: |
|
|
|
branch_pattern: $coverity_branch |
|
|
|
branch_pattern: $coverity_branch |
|
|
|
notification_email: sledgehammer999@qbittorrent.org |
|
|
|
notification_email: sledgehammer999@qbittorrent.org |
|
|
|
apt: |
|
|
|
apt: |
|
|
|
|
|
|
|
sources: |
|
|
|
|
|
|
|
# sources list: https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json |
|
|
|
|
|
|
|
- ubuntu-toolchain-r-test |
|
|
|
|
|
|
|
- boost-latest |
|
|
|
packages: |
|
|
|
packages: |
|
|
|
# packages list: https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise |
|
|
|
# packages list: https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise |
|
|
|
- autoconf |
|
|
|
- autoconf |
|
|
|
- automake |
|
|
|
- automake |
|
|
|
- colormake |
|
|
|
- colormake |
|
|
|
|
|
|
|
- g++-4.8 |
|
|
|
- libssl-dev |
|
|
|
- libssl-dev |
|
|
|
- libboost-dev |
|
|
|
- libboost1.55-dev |
|
|
|
- libboost-system-dev |
|
|
|
- libboost-system1.55-dev |
|
|
|
- libqt4-dev |
|
|
|
- libqt4-dev |
|
|
|
# Uncomment when Travis upgraded "Ubuntu 12.04 LTS" to a newer version whose repo will have a more up-to-date libtorrent package |
|
|
|
# Uncomment when Travis upgraded "Ubuntu 12.04 LTS" to a newer version whose repo will have a more up-to-date libtorrent package |
|
|
|
#- libtorrent-rasterbar6 |
|
|
|
#- libtorrent-rasterbar6 |
|
|
@ -60,6 +65,7 @@ before_install: |
|
|
|
- if [ "$TRAVIS_BRANCH" = "$coverity_branch" ] && ! [ "$TRAVIS_OS_NAME" = "linux" -a "$lt_branch" = "RC_1_0" -a "$gui" = true ]; then exit ; fi |
|
|
|
- if [ "$TRAVIS_BRANCH" = "$coverity_branch" ] && ! [ "$TRAVIS_OS_NAME" = "linux" -a "$lt_branch" = "RC_1_0" -a "$gui" = true ]; then exit ; fi |
|
|
|
|
|
|
|
|
|
|
|
- shopt -s expand_aliases |
|
|
|
- shopt -s expand_aliases |
|
|
|
|
|
|
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then export CC=gcc-4.8 CXX=g++-4.8 ; fi |
|
|
|
- if [ "$TRAVIS_BRANCH" != "$coverity_branch" -a "$TRAVIS_OS_NAME" = "linux" ]; then dpkg-query -L ccache && export PATH="/usr/lib/ccache/:$PATH" ; fi |
|
|
|
- if [ "$TRAVIS_BRANCH" != "$coverity_branch" -a "$TRAVIS_OS_NAME" = "linux" ]; then dpkg-query -L ccache && export PATH="/usr/lib/ccache/:$PATH" ; fi |
|
|
|
- alias make="colormake -j3" # Using nprocs/2 sometimes may fail (gcc is killed by system) |
|
|
|
- alias make="colormake -j3" # Using nprocs/2 sometimes may fail (gcc is killed by system) |
|
|
|
|
|
|
|
|
|
|
@ -90,6 +96,7 @@ install: |
|
|
|
script: |
|
|
|
script: |
|
|
|
- if [ "$TRAVIS_BRANCH" = "$coverity_branch" ]; then exit ; fi # Skip usual build when running coverity scan |
|
|
|
- if [ "$TRAVIS_BRANCH" = "$coverity_branch" ]; then exit ; fi # Skip usual build when running coverity scan |
|
|
|
- ./bootstrap.sh && ./configure $qbtconf |
|
|
|
- ./bootstrap.sh && ./configure $qbtconf |
|
|
|
|
|
|
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then echo QMAKE_CC=$CC >> conf.pri && echo QMAKE_CXX=$CXX >> conf.pri ; fi |
|
|
|
- make && make install |
|
|
|
- make && make install |
|
|
|
|
|
|
|
|
|
|
|
after_success: |
|
|
|
after_success: |
|
|
|