1 Star 0 Fork 0

caipengxiang/mtcp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
sudo: required
dist: trusty
language: c
notifications:
email:
on_success: change
on_failure: change
matrix:
include:
- env: COMPILER=gcc VERSION=6
- env: COMPILER=gcc VERSION=5
- env: COMPILER=gcc VERSION=4.8
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- |
if [ "$VERSION" = "6" ]; then
sudo apt-get install -qq -y gcc-6
elif [ "$VERSION" = "5" ]; then
sudo apt-get install -qq -y gcc-5
elif [ "$VERSION" = "4.8" ]; then
sudo apt-get install -qq -y gcc-4.8
fi
before_script:
- |
if [ "$VERSION" = "6" ]; then
export CC=gcc-6
elif [ "$VERSION" = "5" ]; then
export CC=gcc-5
elif [ "$VERSION" = "4.8" ]; then
export CC=gcc-4.8
fi
install:
- sudo apt-get -qq update
- sudo apt-get install -y linux-headers-$(uname -r)
- sudo apt-get install libnuma-dev
- sudo apt-get install bash
- sudo apt-get install libgmp3-dev
script:
- bash .buildtest_dpdk.sh
- bash .buildtest_psio.sh
- bash .buildtest_netmap.sh
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/awfeequdng/mtcp.git
git@gitee.com:awfeequdng/mtcp.git
awfeequdng
mtcp
mtcp
master

搜索帮助