Add travis.yml file for linux builds

This commit is contained in:
Abdelrahman Mahmoud 2016-03-18 16:35:54 -04:00
parent f6fc7b19f1
commit 961aa8de97
1 changed files with 14 additions and 0 deletions

14
.travis.yml Normal file
View File

@ -0,0 +1,14 @@
dist: trusty
language: cpp
compiler:
- gcc-4.8
before_script:
- sudo apt-get install -y gcc-4.8 g++-4.8 libopencv-dev libboost1.55-all-dev cmake
- wget http://affdex-sdk-dist.s3-website-us-east-1.amazonaws.com/linux/download_sdk.html -O /tmp/affdex-sdk.tar.gz
- 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