2016-07-25 20:22:56 +00:00
|
|
|
language: cpp
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
- feature-travis
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
2016-07-26 17:12:07 +00:00
|
|
|
|
2016-07-25 20:22:56 +00:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get update
|
|
|
|
- sudo apt-get install build-essential
|
|
|
|
|
|
|
|
install:
|
|
|
|
- sudo apt-get install git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
|
|
|
|
- sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev checkinstall
|
2016-07-25 21:12:46 +00:00
|
|
|
- sudo apt-get install libboost-all-dev
|
2016-07-25 20:22:56 +00:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- git clone https://github.com/Itseez/opencv.git
|
|
|
|
- cd opencv
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake ..
|
|
|
|
- make -j4
|
|
|
|
- sudo make -j4 install
|
|
|
|
- cd ../..
|
|
|
|
|
2016-07-26 17:12:07 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-4.9
|
|
|
|
env: COMPILER=g++-4.9
|
|
|
|
- compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-5
|
|
|
|
env: COMPILER=g++-5
|
|
|
|
- compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- llvm-toolchain-precise-3.6
|
|
|
|
packages:
|
|
|
|
- clang-3.6
|
|
|
|
env: COMPILER=clang++-3.6
|
|
|
|
- compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- llvm-toolchain-precise-3.7
|
|
|
|
packages:
|
|
|
|
- clang-3.7
|
|
|
|
env: COMPILER=clang++-3.7
|
|
|
|
|
2016-07-25 20:22:56 +00:00
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2016-07-26 17:12:07 +00:00
|
|
|
- cmake -D CMAKE_BUILD_TYPE=RELEASE ..
|
2016-07-25 20:22:56 +00:00
|
|
|
- make
|
|
|
|
- ./bin/FaceLandmarkImg -fdir "../videos/" -ofdir "./demo_img/" -oidir "./demo_img/" -wild -q
|