加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 849 Bytes
一键复制 编辑 原始数据 按行查看 历史
sudo: required
dist: trusty
language: cpp
compiler: gcc
env:
global:
- MAKEOPTS=-j3
matrix:
- PYVERSION=python2.6
- PYVERSION=python2.7
- PYVERSION=python3.4
- PYVERSION=python3.5
- PYVERSION=python3.6
addons:
apt:
sources:
- sourceline: 'ppa:fkrull/deadsnakes'
- autotools-dev
- libtool
- pkg-config
install:
- sudo sysctl kernel.yama.ptrace_scope=0
- travis_retry sudo apt-get update
- travis_retry sudo apt-get install --allow-unauthenticated "${PYVERSION}"{,-minimal,-dev}
# Travis puts some other Python versions in /opt, so it's very important that we
# use an explicit /usr/bin path when running the tests.
script:
- ./autogen.sh
- ./configure --disable-silent-rules --enable-werror
- make $MAKEOPTS
- file ./src/pyflame
- ./runtests.sh -v /usr/bin/"${PYVERSION}"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化