1 Star 0 Fork 2

龙纹帻/printf

forked from mirrors_mpaland/printf 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.51 KB
一键复制 编辑 原始数据 按行查看 历史
# Use a C++11 distro
dist: trusty
sudo: required
# Enable C++ support
language: cpp
# Compiler selection
compiler: gcc
env:
global:
# coverity key
- secure: "NKZbBnMALGIIQJy/s2kc3EST/stw+gjhtrGq0jkbsWr7Wx3FH+lmLeHNsDXRnD1VbpG02c5YsLllqz9OVu+0yxWGepvKNmCz1cNITIALEHbrax8/Af9LzPRL/QZxS/Qe11sMuySp4X16mFBUyxMd/X+I9i96Xf1vKkZABklYD1Q="
# addons
addons:
apt:
packages:
- gcc-6
- g++-6
sources:
- ubuntu-toolchain-r-test
coverity_scan:
project:
name: "mpaland/printf"
description: "Tiny printf implementation"
notification_email: marco@paland.com
build_command_prepend: "make clean"
build_command: "make"
branch_pattern: master
before_install:
# connect coverity
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
# Active branches
branches:
only:
- master
script:
# Link gcc-6 and g++-6 to their standard commands
- sudo rm /usr/bin/gcc
- sudo rm /usr/bin/g++
- sudo ln -s /usr/bin/gcc-6 /usr/bin/gcc
- sudo ln -s /usr/bin/g++-6 /usr/bin/g++
# Export CC and CXX
- export CC=/usr/bin/gcc-6
- export CXX=/usr/bin/g++-6
# Check versions of gcc, g++
- gcc -v && g++ -v
# Run build commands
- make
# execute the text suite
- bin/test_suite -d yes
# coverall profiling
- tmp/cov/test_suite
after_success:
## Report to codecov
- bash <(curl -s https://codecov.io/bash)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sj137577/printf.git
git@gitee.com:sj137577/printf.git
sj137577
printf
printf
master

搜索帮助