Updating travis yml to silence the log and adding sudo when installing boost and cmake

This commit is contained in:
Umang Mehta 2017-11-22 17:09:30 -05:00
parent 51270ea2e4
commit 822d3d9a7c

View file

@ -17,19 +17,18 @@ before_script:
- mkdir /tmp/cmake
- tar -xvf /tmp/cmake.tar.gz -C /tmp/cmake
- cd /tmp/cmake && \
./bootstrap --system-curl && \
make -j$(nproc) && \
make install
./bootstrap --system-curl > /dev/null 2>&1 && \
make -j$(nproc) > /dev/null 2>&1 && \
sudo make install > /dev/null 2>&1
- wget https://sourceforge.net/projects/boost/files/boost/1.63.0/boost_1_63_0.tar.gz -O /tmp/boost.tar.gz
- mkdir /tmp/boost
- tar -xvf /tmp/boost.tar.gz -C /tmp/boost
- cd /tmp/boost && \
./bootstrap.sh &&\
./b2 -j $(nproc) cxxflags=-fPIC threading=multi runtime-link=shared \
./bootstrap.sh > /dev/null 2>&1 &&\
sudo ./b2 -j $(nproc) cxxflags=-fPIC threading=multi runtime-link=shared \
--with-log --with-serialization --with-system --with-date_time \
--with-filesystem --with-regex --with-timer --with-chrono --with-thread \
--with-program_options \
install
--with-program_options install > /dev/null 2>&1
- wget https://download.affectiva.com/linux/gcc-5.4/affdex-cpp-sdk-4.0-75-ubuntu-xenial-xerus-x86_64bit.tar.gz -O /tmp/affdex-sdk.tar.gz
- mkdir /tmp/affdex-sdk
- tar -xzvf /tmp/affdex-sdk.tar.gz -C /tmp/affdex-sdk