mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-13 20:56:17 +00:00
Merge pull request #763 from MindTooth/travis_path_fix
travis: Fix test in wrong path, and jobs parallelization
This commit is contained in:
+13
-3
@@ -1,5 +1,9 @@
|
|||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
- MAKEFLAGS="-j 12"
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- compiler: clang
|
- compiler: clang
|
||||||
@@ -67,8 +71,14 @@ matrix:
|
|||||||
# TODO: Use the same branch name if libtorrent has it.
|
# TODO: Use the same branch name if libtorrent has it.
|
||||||
before_install:
|
before_install:
|
||||||
- git clone https://github.com/rakshasa/libtorrent.git
|
- git clone https://github.com/rakshasa/libtorrent.git
|
||||||
- cd libtorrent && ./autogen.sh && CXX="$COMPILER" ./configure && make -j12 && sudo make install
|
- |
|
||||||
|
pushd libtorrent \
|
||||||
|
&& ./autogen.sh \
|
||||||
|
&& CXX="$COMPILER" ./configure --prefix=/usr \
|
||||||
|
&& make \
|
||||||
|
&& sudo make install \
|
||||||
|
&& popd
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./autogen.sh && CXX="$COMPILER" ./configure && make -j12
|
- ./autogen.sh && CXX="$COMPILER" ./configure && make
|
||||||
- if [ ! $SKIP_CHECK ]; then make -j12 check; fi
|
- if [ ! $SKIP_CHECK ]; then make check; fi
|
||||||
|
|||||||
Reference in New Issue
Block a user