|
|
|
@ -30,6 +30,7 @@ before_install:
@@ -30,6 +30,7 @@ before_install:
|
|
|
|
|
|
|
|
|
|
# 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/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 ; fi |
|
|
|
|
- qbtconf="$qbtconf --with-qt4" |
|
|
|
|
- ltconf=" --with-libgeoip=system" |
|
|
|
|
|
|
|
|
|
- echo settings |
|
|
|
@ -48,7 +49,7 @@ before_install:
@@ -48,7 +49,7 @@ before_install:
|
|
|
|
|
|
|
|
|
|
install: |
|
|
|
|
#- if [[ "$lt_source" == "from_dist" ]]; then sudo apt-get -qq install libtorrent-rasterbar-dev; fi |
|
|
|
|
- if [[ "$lt_source" == "from_svnRC_0_16" ]]; then cd .. && svn co svn://svn.code.sf.net/p/libtorrent/code/branches/RC_0_16 ./libtorrent && (cd libtorrent && ./autotool.sh && ./configure $ltconf && sudo make install) && sudo ldconfig /usr/local/lib && cd $TRAVIS_BUILD_DIR ; fi |
|
|
|
|
- if [[ "$lt_source" == "from_svnRC_0_16" ]]; then qbtconf="$qbtconf --with-libtorrent-rasterbar0.16" && cd .. && svn co svn://svn.code.sf.net/p/libtorrent/code/branches/RC_0_16 ./libtorrent && (cd libtorrent && ./autotool.sh && ./configure $ltconf && sudo make install) && sudo ldconfig /usr/local/lib && cd $TRAVIS_BUILD_DIR ; fi |
|
|
|
|
- if [[ "$lt_source" == "from_svnRC_1_0" ]]; then cd .. && svn co svn://svn.code.sf.net/p/libtorrent/code/branches/RC_1_0 ./libtorrent && (cd libtorrent && ./autotool.sh && ./configure $ltconf && sudo make install) && sudo ldconfig /usr/local/lib && cd $TRAVIS_BUILD_DIR ; fi |
|
|
|
|
|
|
|
|
|
script: |
|
|
|
|