Remove a bunch of things that I don't think we need
This commit is contained in:
parent
c5398fd473
commit
15bb566636
3 changed files with 8 additions and 12 deletions
|
@ -1,9 +1,6 @@
|
||||||
dist: trusty
|
|
||||||
sudo: required
|
sudo: required
|
||||||
language: ruby
|
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
language: ruby
|
||||||
before_install:
|
before_install:
|
||||||
- docker build --file=docker/Dockerfile-Ubuntu --tag=v4.0.0:affdex .
|
- docker build --file=docker/Dockerfile-Ubuntu --tag=v4.0.0:affdex
|
||||||
- docker run v4.0.0:affdex
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ RUN git clone https://github.com/Affectiva/cpp-sdk-samples.git $SRC_DIR/sdk-samp
|
||||||
#### CMAKE ####
|
#### CMAKE ####
|
||||||
WORKDIR $SRC_DIR
|
WORKDIR $SRC_DIR
|
||||||
RUN wget https://cmake.org/files/v3.8/cmake-3.8.1.tar.gz \
|
RUN wget https://cmake.org/files/v3.8/cmake-3.8.1.tar.gz \
|
||||||
&& tar -xvf cmake-3.8.1.tar.gz && rm cmake-3.8.1.tar.gz
|
&& tar -xf cmake-3.8.1.tar.gz && rm cmake-3.8.1.tar.gz
|
||||||
RUN cd $SRC_DIR/cmake-3.8.1/ && \
|
RUN cd $SRC_DIR/cmake-3.8.1/ && \
|
||||||
./bootstrap --system-curl && \
|
./bootstrap --system-curl && \
|
||||||
make -j$(nproc) && \
|
make -j$(nproc) && \
|
||||||
|
@ -49,7 +49,7 @@ RUN cd $SRC_DIR/cmake-3.8.1/ && \
|
||||||
#### BOOST ####
|
#### BOOST ####
|
||||||
WORKDIR $SRC_DIR
|
WORKDIR $SRC_DIR
|
||||||
RUN wget https://sourceforge.net/projects/boost/files/boost/1.63.0/boost_1_63_0.tar.gz --no-check-certificate && \
|
RUN wget https://sourceforge.net/projects/boost/files/boost/1.63.0/boost_1_63_0.tar.gz --no-check-certificate && \
|
||||||
tar -xvf boost_1_63_0.tar.gz && \
|
tar -xf boost_1_63_0.tar.gz && \
|
||||||
rm boost_1_63_0.tar.gz && \
|
rm boost_1_63_0.tar.gz && \
|
||||||
cd $SRC_DIR/boost_1_63_0 && \
|
cd $SRC_DIR/boost_1_63_0 && \
|
||||||
./bootstrap.sh &&\
|
./bootstrap.sh &&\
|
||||||
|
|
|
@ -39,17 +39,16 @@ RUN git clone https://github.com/Affectiva/cpp-sdk-samples.git $SRC_DIR/sdk-samp
|
||||||
#### CMAKE ####
|
#### CMAKE ####
|
||||||
WORKDIR $SRC_DIR
|
WORKDIR $SRC_DIR
|
||||||
RUN wget https://cmake.org/files/v3.8/cmake-3.8.1.tar.gz \
|
RUN wget https://cmake.org/files/v3.8/cmake-3.8.1.tar.gz \
|
||||||
&& tar -xvf cmake-3.8.1.tar.gz && rm cmake-3.8.1.tar.gz
|
&& tar -xf cmake-3.8.1.tar.gz && rm cmake-3.8.1.tar.gz
|
||||||
RUN cd $SRC_DIR/cmake-3.8.1/ && \
|
RUN cd $SRC_DIR/cmake-3.8.1/ && \
|
||||||
./bootstrap --system-curl && \
|
./bootstrap --system-curl && \
|
||||||
make -j$(nproc) && \
|
make -j$(nproc) install > /dev/null && \
|
||||||
make install && \
|
|
||||||
rm -rf $SRC_DIR/cmake-3.8.1
|
rm -rf $SRC_DIR/cmake-3.8.1
|
||||||
|
|
||||||
#### BOOST ####
|
#### BOOST ####
|
||||||
WORKDIR $SRC_DIR
|
WORKDIR $SRC_DIR
|
||||||
RUN wget https://sourceforge.net/projects/boost/files/boost/1.63.0/boost_1_63_0.tar.gz --no-check-certificate && \
|
RUN wget https://sourceforge.net/projects/boost/files/boost/1.63.0/boost_1_63_0.tar.gz --no-check-certificate && \
|
||||||
tar -xvf boost_1_63_0.tar.gz && \
|
tar -xf boost_1_63_0.tar.gz && \
|
||||||
rm boost_1_63_0.tar.gz && \
|
rm boost_1_63_0.tar.gz && \
|
||||||
cd $SRC_DIR/boost_1_63_0 && \
|
cd $SRC_DIR/boost_1_63_0 && \
|
||||||
./bootstrap.sh &&\
|
./bootstrap.sh &&\
|
||||||
|
@ -71,7 +70,7 @@ RUN wget https://download.affectiva.com/linux/gcc-5.4/affdex-cpp-sdk-4.0-75-ubun
|
||||||
RUN mkdir -p $BUILD_DIR &&\
|
RUN mkdir -p $BUILD_DIR &&\
|
||||||
cd $BUILD_DIR &&\
|
cd $BUILD_DIR &&\
|
||||||
cmake -DOpenCV_DIR=/usr/ -DBOOST_ROOT=/usr/ -DAFFDEX_DIR=$SRC_DIR/affdex-sdk $SRC_DIR/sdk-samples &&\
|
cmake -DOpenCV_DIR=/usr/ -DBOOST_ROOT=/usr/ -DAFFDEX_DIR=$SRC_DIR/affdex-sdk $SRC_DIR/sdk-samples &&\
|
||||||
make -j$(nproc)
|
make -j$(nproc) > /dev/null
|
||||||
|
|
||||||
## CREATE THE ARTIFACT
|
## CREATE THE ARTIFACT
|
||||||
WORKDIR $ARTIFACT_DIR
|
WORKDIR $ARTIFACT_DIR
|
||||||
|
|
Loading…
Reference in a new issue