From dd89d3507e80e49d976676bfccc369a2193ca7df Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Tue, 26 Aug 2014 00:57:24 +0300 Subject: [PATCH] Make Travis CI test against libtorrent 1.0.x too. --- .travis.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index c724968e3..476ce3c1a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,8 +7,10 @@ env: #- 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 + - lt_source=from_svnRC_0_16 gui=true + - lt_source=from_svnRC_0_16 gui=false + - lt_source=from_svnRC_1_0 gui=true + - lt_source=from_svnRC_1_0 gui=false branches: except: @@ -45,8 +47,9 @@ before_install: - sudo apt-get -qq install libqt4-dev install: - - 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://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_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_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: - ./bootstrap.sh