2019-02-10 07:13:49 +00:00
|
|
|
language: cpp
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
|
2019-02-10 08:52:13 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
2019-02-12 19:52:10 +00:00
|
|
|
update: true
|
|
|
|
packages:
|
|
|
|
- valgrind
|
2019-02-10 08:52:13 +00:00
|
|
|
|
2019-02-10 07:22:03 +00:00
|
|
|
before_install:
|
2019-02-10 07:27:58 +00:00
|
|
|
- mkdir -p .deps
|
|
|
|
- cd .deps
|
2019-02-10 07:57:31 +00:00
|
|
|
- wget -O fuse-3.1.1.tar.gz https://github.com/libfuse/libfuse/archive/fuse-3.1.1.tar.gz
|
2019-02-10 07:22:03 +00:00
|
|
|
- tar -xf fuse-3.1.1.tar.gz
|
|
|
|
- cd libfuse-fuse-3.1.1
|
|
|
|
- ./makeconf.sh
|
|
|
|
- ./configure
|
|
|
|
- make
|
|
|
|
- sudo make install
|
2019-02-10 07:27:58 +00:00
|
|
|
- cd ..
|
2019-02-10 08:01:22 +00:00
|
|
|
- wget -O libwebsockets-3.1.0.tar.gz https://github.com/warmcat/libwebsockets/archive/v3.1.0.tar.gz
|
2019-02-10 07:54:06 +00:00
|
|
|
- tar -xf libwebsockets-3.1.0.tar.gz
|
2019-02-10 07:34:48 +00:00
|
|
|
- cd libwebsockets-3.1.0
|
|
|
|
- mkdir .build
|
2019-02-10 07:38:26 +00:00
|
|
|
- cd .build
|
2019-02-10 07:34:48 +00:00
|
|
|
- cmake ..
|
|
|
|
- make
|
|
|
|
- sudo make install
|
|
|
|
- cd ..
|
2019-02-10 07:27:58 +00:00
|
|
|
- cd ..
|
2019-02-10 07:54:06 +00:00
|
|
|
- wget -O libjansson-2.12.tar.gz https://github.com/akheron/jansson/archive/v2.12.tar.gz
|
|
|
|
- tar -xf libjansson-2.12.tar.gz
|
|
|
|
- cd jansson-2.12
|
|
|
|
- mkdir .build
|
|
|
|
- cd .build
|
|
|
|
- cmake ..
|
|
|
|
- make
|
|
|
|
- sudo make install
|
|
|
|
- cd ..
|
|
|
|
- cd ..
|
|
|
|
- wget -O gtest-1.8.1.tar.gz https://github.com/google/googletest/archive/release-1.8.1.tar.gz
|
|
|
|
- tar -xf gtest-1.8.1.tar.gz
|
|
|
|
- cd googletest-release-1.8.1
|
|
|
|
- mkdir .build
|
|
|
|
- cd .build
|
|
|
|
- cmake ..
|
|
|
|
- make
|
|
|
|
- sudo make install
|
|
|
|
- cd ..
|
|
|
|
- cd ..
|
2019-02-10 07:38:26 +00:00
|
|
|
- cd ..
|
2019-02-10 08:48:36 +00:00
|
|
|
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
|
|
|
|
|
2019-02-10 07:22:03 +00:00
|
|
|
|
2019-02-10 07:13:49 +00:00
|
|
|
before_script:
|
|
|
|
- mkdir .build
|
|
|
|
- cd .build
|
2019-02-10 13:23:00 +00:00
|
|
|
- cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_EXAMPLE=ON -DWITH_TESTS=ON ..
|
2019-02-10 07:13:49 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- make
|
2019-02-10 08:52:13 +00:00
|
|
|
- valgrind ./alltests
|