Switch branches/tags
release-3.0.11 release-3.0.10 release-3.0.9 release-3.0.8 release-3.0.7 release-3.0.6 release-3.0.5 release-3.0.4 release-3.0.3 release-3.0.2 release-3.0.1 release-3.0.0 release-2.9.11 release-2.9.10 release-2.9.9 release-2.9.8 release-2.9.7 release-2.9.6 release-2.9.5 release-2.9.4 release-2.9.3 release-2.9.0 release-2.8.5 release-2.8.4 release-2.8.3 release-2.8.2 release-2.7.1 release-2.7.0 release-2.6.9 release-2.6.8 release-2.6.7 release-2.6.5 release-2.6.4 release-2.6.3 release-2.6.2 release-2.6.1 release-2.6.0 release-2.5.5 release-2.5.4 release-2.5.3 release-2.5.2 release-2.5.0 release-2.5.0rc1 release-2.5.0beta6 release-2.5.0beta5 release-2.5.0beta3 release-2.5.0beta2 release-2.5.0beta1 release-2.4.11 release-2.4.10 release-2.4.8 release-2.4.6 release-2.4.4 release-2.4.2 release-2.4.0 release-2.4.0rc3 release-2.4.0rc1 release-2.4.0beta3 release-2.4.0beta1 release-2.3.1 release-2.3.0 release-2.3.0rc6 release-2.3.0rc5 release-2.2.11 release-2.2.10 release-2.2.9 release-2.2.8 release-2.2.6 release-2.2.5 release-2.2.3 release-2.2.2 release-2.2.1 release-2.2.0 release-2.1.6 release-2.1.4 release-2.1.2 release-2.1.1 release-2.1.0 release-2.0.7 release-2.0.6 release-2.0.5 release-2.0.3 release-2.0.2 release-2.0.0 release-2.0.0rc6 release-2.0.0rc2 release-1.5.6 release-1.5.4 release-1.5.3 release-1.5.0 release-1.5.0rc5 release-1.5.0rc4 release-1.5.0rc3 release-1.5.0rc1 release-1.5.0beta4 release-1.5.0beta3 release-1.5.0beta2 release-1.5.0beta1 release-1.4.1 release-1.4.0
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
54 lines (43 sloc) 1.85 KB
- cpp
# use libtorrent 0.15.10
- lt_source=from_dist gui=true
- lt_source=from_dist gui=false
# use libtorrent 0.16.X from RC_0_16 svn branch
- lt_source=from_svn gui=true
- lt_source=from_svn gui=false
- search_encoding_windows
- v2_9_x
on_success: change
on_failure: change
- shopt -s expand_aliases
- alias sudo="sudo "
# Using nprocs/2 sometimes may fail (gcc is killed by system), just use two threads
- alias make="colormake -j2 "
# Also setup a virtual display for after_success target when gui == true
- if ! $gui; then qbtconf="$qbtconf --disable-gui"; else export "DISPLAY=:99.0" && /sbin/start-stop-daemon --start --quiet --pidfile /tmp/ --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 ; fi
- ltconf=" --with-libgeoip=system"
- echo settings
- echo $lt_source
- echo $ltconf
- echo $gui
- echo $qbtconf
- sudo apt-get -qq update
# Travis can stall during heavy load if these packages are installed in one step - split the command
- sudo apt-get -qq install debhelper qconf colormake libssl-dev libgeoip-dev
- sudo apt-get -qq install libboost-dev libboost-filesystem-dev libboost-system-dev
- sudo apt-get -qq install libqt4-dev
- if [[ "$lt_source" == "from_dist" ]]; then sudo apt-get -qq install libtorrent-rasterbar-dev; fi
- if [[ "$lt_source" == "from_svn" ]]; then cd .. && svn co svn:// ./libtorrent && (cd libtorrent && ./ && ./configure $ltconf && sudo make install) && sudo ldconfig /usr/local/lib && cd $TRAVIS_BUILD_DIR ; fi
- qt-qconf
- ./configure $qbtconf && sudo make install
- if $gui ; then qbittorrent --version ; else qbittorrent-nox --version ; fi