Updating the config for building on travis
This commit is contained in:
parent
b0d0e64885
commit
06e756f44d
1 changed files with 13 additions and 3 deletions
16
.travis.yml
16
.travis.yml
|
@ -1,9 +1,18 @@
|
||||||
dist: trusty
|
dist: trusty
|
||||||
|
sudo: require
|
||||||
language: cpp
|
language: cpp
|
||||||
compiler:
|
compiler: gcc
|
||||||
- gcc-5
|
|
||||||
|
before_install:
|
||||||
|
# C++11
|
||||||
|
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
|
||||||
|
- sudo apt-get update -qq
|
||||||
|
|
||||||
|
install:
|
||||||
|
# C++11
|
||||||
|
- sudo apt-get install -qq gcc-5 g++-5 libopencv-dev libcurl4-openssl-dev libssl-dev
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- sudo apt-get install -y gcc-5 g++-5 libopencv-dev make libcurl4-openssl-dev libssl-dev
|
|
||||||
- wget https://cmake.org/files/v3.8/cmake-3.8.1.tar.gz -O /tmp/cmake.tar.gz
|
- wget https://cmake.org/files/v3.8/cmake-3.8.1.tar.gz -O /tmp/cmake.tar.gz
|
||||||
- mkdir /tmp/cmake
|
- mkdir /tmp/cmake
|
||||||
- tar -xvf cmake.tar.gz -C /tmp/cmake
|
- tar -xvf cmake.tar.gz -C /tmp/cmake
|
||||||
|
@ -27,5 +36,6 @@ before_script:
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- cmake -DBOOST_ROOT=/usr/ -DOpenCV_DIR=/usr/ -DAFFDEX_DIR=/tmp/affdex-sdk ..
|
- cmake -DBOOST_ROOT=/usr/ -DOpenCV_DIR=/usr/ -DAFFDEX_DIR=/tmp/affdex-sdk ..
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make
|
- make
|
||||||
|
|
Loading…
Reference in a new issue