1 Star 0 Fork 61

dodoco/DTC

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
杨爽 提交于 2021-10-09 10:25 . add AGENT docker. (#22)
# Build matrix / environment variables are explained on:
# http://about.travis-ci.org/docs/user/build-configuration/
# This file can be validated on: http://lint.travis-ci.org/
language: cpp
compiler:
- g++
os:
- linux
addons:
apt:
packages:
- g++-4.9
env:
- DTC_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
before_install:
- eval "${DTC_EVAL}"
install:
- echo ${CC}
- ${CC} --version
- echo ${CXX}
- ${CXX} --version
- cmake --version
- sudo apt-get install snappy libsnappy-dev zlib1g zlib1g-dev bzip2 liblz4-dev libasan0 openssl libmxml-dev
script:
- mkdir build/
- cd build/
- cmake -DCMAKE_TEST_OPTION=ON ../
- make
after_success:
- cd ../
- cp conf/* dockerfiles/server/
- cp build/src/core/dtcd dockerfiles/server/
- cp build/src/agent/dtcagent dockerfiles/agent/
- cp conf/agent.xml dockerfiles/agent/
- cp build/src/connector/connector dockerfiles/server/
- cd dockerfiles/server/
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build -t $DOCKER_USERNAME/server:latest .
- docker push $DOCKER_USERNAME/server:latest
- cd ../agent/
- docker build -t $DOCKER_USERNAME/agent:latest .
- docker push $DOCKER_USERNAME/agent:latest
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/dodoco/dtc.git
git@gitee.com:dodoco/dtc.git
dodoco
dtc
DTC
v0.2.0

搜索帮助