From 961aa8de97525a671108cf59e774f7e866f59d84 Mon Sep 17 00:00:00 2001 From: Abdelrahman Mahmoud Date: Fri, 18 Mar 2016 16:35:54 -0400 Subject: [PATCH] Add travis.yml file for linux builds --- .travis.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..07e56a4 --- /dev/null +++ b/.travis.yml @@ -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