2016-03-18 21:35:54 +01:00
|
|
|
dist: trusty
|
|
|
|
language: cpp
|
|
|
|
compiler:
|
2017-11-22 22:30:53 +01:00
|
|
|
- gcc-5
|
2016-03-18 21:35:54 +01:00
|
|
|
before_script:
|
2017-11-22 22:30:53 +01:00
|
|
|
- sudo apt-get install -y gcc-5 g++-5 libopencv-dev make libcurl4-openssl-dev libssl-dev
|
2017-11-22 22:22:31 +01:00
|
|
|
- wget https://cmake.org/files/v3.8/cmake-3.8.1.tar.gz -O /tmp/cmake.tar.gz
|
|
|
|
- mkdir /tmp/cmake
|
|
|
|
- tar -xvf cmake.tar.gz -C /tmp/cmake
|
|
|
|
- cd /tmp/cmake && \
|
|
|
|
./bootstrap --system-curl && \
|
|
|
|
make -j$(nproc) && \
|
|
|
|
make install
|
|
|
|
- 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 boost.tar.gz -C /tmp/boost
|
|
|
|
- cd /tmp/boost && \
|
|
|
|
./bootstrap.sh &&\
|
|
|
|
./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
|
|
|
|
- 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
|
2016-03-18 21:35:54 +01:00
|
|
|
- mkdir /tmp/affdex-sdk
|
|
|
|
- tar -xzvf /tmp/affdex-sdk.tar.gz -C /tmp/affdex-sdk
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake -DBOOST_ROOT=/usr/ -DOpenCV_DIR=/usr/ -DAFFDEX_DIR=/tmp/affdex-sdk ..
|
|
|
|
script:
|
|
|
|
- make
|