Another attempt at travis C++11

This commit is contained in:
Tadas Baltrusaitis 2016-07-26 13:12:07 -04:00
parent 1db7c20bc5
commit 0a8fe23eea
1 changed files with 39 additions and 13 deletions

View File

@ -12,18 +12,7 @@ compiler:
os:
- linux
# Install packages differs for container-based infrastructure
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake
# https://github.com/travis-ci-tester/travis-test-gcc-cxx-11
- g++-4.9
before_install:
- sudo apt-get update
- sudo apt-get install build-essential
@ -43,9 +32,46 @@ before_script:
- sudo make -j4 install
- cd ../..
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
script:
- mkdir build
- cd build
- cmake -D CMAKE_BUILD_TYPE=RELEASE ..
- cmake -D CMAKE_BUILD_TYPE=RELEASE ..
- make
- ./bin/FaceLandmarkImg -fdir "../videos/" -ofdir "./demo_img/" -oidir "./demo_img/" -wild -q