Permalink
Browse files

.travis.yml: use more CPUs for compiling

  • Loading branch information...
Mikaela committed Aug 10, 2014
1 parent da378af commit 6a1af6bf89f7db337f7acd405027b43abd99b4f0
Showing with 3 additions and 3 deletions.
  1. +3 −3 .travis.yml
View
@@ -17,16 +17,16 @@ before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libperl-dev python3-dev tcl-dev libsasl2-dev libgtest-dev libicu-dev
- apt-cache show swig
- - ( cd ~ && wget http://prdownloads.sourceforge.net/swig/swig-2.0.8.tar.gz && tar xvf swig-2.0.8.tar.gz && cd swig-2.0.8 && ./configure && make && sudo make install )
+ - ( cd ~ && wget http://prdownloads.sourceforge.net/swig/swig-2.0.8.tar.gz && tar xvf swig-2.0.8.tar.gz && cd swig-2.0.8 && ./configure && make -j$(nproc) && sudo make install )
- sudo apt-get install doxygen graphviz
script:
- ./bootstrap.sh
- mkdir build
- cd build
- ../configure --enable-perl --enable-python --enable-tcl --enable-cyrus --with-gtest=/usr/src/gtest $CFGFLAGS CXXFLAGS="$CXXFLAGS $MYCXXFLAGS" LDFLAGS="$LDFLAGS $MYLDFLAGS"
- cat config.log
- - make V=1
- - make V=1 test
+ - make V=1 -j$(nproc)
+ - make V=1 test -j$(nproc)
- sudo make install
- cd ..
after_success:

0 comments on commit 6a1af6b

Please sign in to comment.