34 Star 169 Fork 63

Bwar / Nebula

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 2.36 KB
一键复制 编辑 原始数据 按行查看 历史
Bwar 提交于 2020-06-26 17:13 . v1.1 release
dist: trusty
sudo: require
language: cpp
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- doxygen
- doxygen-doc
- doxygen-latex
- doxygen-gui
- graphviz
before_install:
- gcc -v && g++ -v
- doxygen docs/Doxyfile
deploy_docs:
provider: pages
skip_cleanup: pages
github-token: $GH_REPO_TOKEN # Set in the settings page of your repository, as a secure variable
local_dir: docs/html
on:
branch: master
script:
- mkdir BuildNebula
- cd BuildNebula
- export WORK_PATH=`pwd`
- mkdir NebulaDepend NebulaDependBuild
- cd NebulaDependBuild
- wget https://github.com/google/protobuf/archive/v3.6.0.zip
- unzip v3.6.0.zip
- cd protobuf-3.6.0
- chmod u+x autogen.sh
- ./autogen.sh
- ./configure --prefix=${WORK_PATH}/NebulaDepend
- make
- make install
- cd ..
- wget https://github.com/kindy/libev/archive/master.zip
- mv master.zip libev.zip
- unzip libev.zip
- mv libev-master libev
- cd libev/src
- chmod u+x autogen.sh
- ./autogen.sh
- ./configure --prefix=${WORK_PATH}/NebulaDepend
- make
- make install
- cd ../../
- wget https://github.com/redis/hiredis/archive/v0.13.0.zip
- mv v0.13.0.zip hiredis_v0.13.0.zip
- unzip hiredis_v0.13.0.zip
- mv hiredis-0.13.0 hiredis
- cd hiredis
- make
- mkdir ../../NebulaDepend/include/hiredis
- cp -r adapters *.h ../../NebulaDepend/include/hiredis/
- cp libhiredis.so ../../NebulaDepend/lib/
- cd ..
- wget https://github.com/weidai11/cryptopp/archive/CRYPTOPP_6_0_0.tar.gz
- tar -zxvf CRYPTOPP_6_0_0.tar.gz
- cd cryptopp-CRYPTOPP_6_0_0
- make libcryptopp.so
- mkdir ../../NebulaDepend/include/cryptopp
- cp *.h ../../NebulaDepend/include/cryptopp/
- cp libcryptopp.so ../../NebulaDepend/lib/
- cd ..
- wget https://github.com/openssl/openssl/archive/OpenSSL_1_1_0.zip
- unzip OpenSSL_1_1_0.zip
- rm OpenSSL_1_1_0.zip
- cd openssl-OpenSSL_1_1_0
- ./config --prefix=${WORK_PATH}/NebulaDepend
- make
- make install
- cd ..
# now build nebula
- cd ..
- git clone https://github.com/Bwar/Nebula.git Nebula
- mkdir Nebula/include
- mkdir Nebula/lib
- cd Nebula/proto
- ${WORK_PATH}/NebulaDepend/bin/protoc *.proto --cpp_out=../src/pb
- cd ../src
- make
C++
1
https://gitee.com/Bwar/Nebula.git
git@gitee.com:Bwar/Nebula.git
Bwar
Nebula
Nebula
master

搜索帮助