Updating the BUILD_DIR

This commit is contained in:
Umang Mehta 2017-11-29 14:13:31 -05:00
parent e29740ed54
commit 4fe800fe50
1 changed files with 4 additions and 3 deletions

View File

@ -13,6 +13,8 @@ install:
- sudo apt-get install -qq gcc-5 g++-5 libopencv-dev libcurl4-openssl-dev libssl-dev
before_script:
- mkdir build
- export BUILD_DIR=$PWD/build
- wget https://cmake.org/files/v3.8/cmake-3.8.1.tar.gz -O /tmp/cmake.tar.gz
- mkdir /tmp/cmake
- tar -xzf /tmp/cmake.tar.gz -C /tmp/cmake
@ -29,9 +31,8 @@ before_script:
- wget https://download.affectiva.com/linux/gcc-5.4/affdex-cpp-sdk-4.0-75-ubuntu-xenial-xerus-x86_64bit.tar.gz -O /tmp/affdex-sdk.tar.gz
- mkdir /tmp/affdex-sdk
- tar -xzf /tmp/affdex-sdk.tar.gz -C /tmp/affdex-sdk
- mkdir $HOME/build
- cd $HOME/build
- cmake -DBOOST_ROOT=/usr/ -DOpenCV_DIR=/usr/ -DAFFDEX_DIR=/tmp/affdex-sdk $HOME/cpp-sdk-samples
- cd $BUILD_DIR
- cmake -DBOOST_ROOT=/usr/ -DOpenCV_DIR=/usr/ -DAFFDEX_DIR=/tmp/affdex-sdk ..
script:
- make