Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add the badges of release and codecov #165

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
language: c
before_script:
- export IS_TRAVIS=true

script:
- ./configure && make && make test


env:
global:
- CODECOV_TOKEN=:b779adbc-4768-467b-9fe0-a377d9290224

after_success:
- bash <(curl -s https://codecov.io/bash)

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Qiniu Resource Storage SDK for C/C++

[![Build Status](https://api.travis-ci.org/qiniu/c-sdk.png?branch=master)](https://travis-ci.org/qiniu/c-sdk)
[![GitHub release](https://img.shields.io/github/v/tag/qiniu/c-sdk.svg?label=release)](https://github.com/qiniu/c-sdk/releases)
[![Coverage Status](https://codecov.io/gh/qiniu/c-sdk/branch/master/graph/badge.svg)](https://codecov.io/gh/qiniu/c-sdk)

[![Qiniu Logo](http://devtools.qiniu.com/qiniu-logo.jpg)](http://qiniu.com/)

此 C/C++ SDK 适用于 兼容C89标准的C/C++编译器,基于七牛云存储官方API构建。使用此 SDK 构建您的网络应用程序,能让您以非常便捷地方式将数据安全地存储到七牛云存储上。无论您的网络应用是一个网站程序,还是包括从云端(服务端程序)到终端(手持设备应用)的架构的服务或应用,通过七牛云存储及其 SDK,都能让您应用程序的终端用户高速上传和下载,同时也让您的服务端更加轻盈。
此 C/C++ SDK 适用于 兼容C89标准的C/C++编译器,基于七牛云存储官方API构建。使用此 SDK 构建您的网络应用程序,能让您以非常便捷的方式将数据安全地存储到七牛云存储上。无论您的网络应用是一个网站程序,还是包括从云端(服务端程序)到终端(手持设备应用)的架构的服务或应用,通过七牛云存储及其 SDK,都能让您应用程序的终端用户高速上传和下载,同时也让您的服务端更加轻盈。

## 使用

Expand Down
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cd CUnit; aclocal; autoconf; autoreconf; ./configure; make
cd CUnit; aclocal; autoconf; automake --add missing; autoreconf; ./configure; make
3 changes: 2 additions & 1 deletion tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ SOURCE_FILES=\
CUNIT_LIB=../CUnit/CUnit/Sources/.libs

all: $(SOURCE_FILES)
gcc -g $^ -o qiniutest -L$(CUNIT_LIB) -lcurl -lssl -lcrypto -lcunit -lm
gcc -g $^ -o qiniutest -L$(CUNIT_LIB) -lcurl -lssl -lcrypto -lcunit -lm


install: all
@echo
Expand Down
1 change: 0 additions & 1 deletion tests/test.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,3 @@ Qiniu_Reader Qiniu_SeqReader(Qiniu_Seq* self, size_t limit, int radix, int base,
Qiniu_ReaderAt Qiniu_SeqReaderAt(Qiniu_Seq* self, size_t limit, int radix, int base, size_t delta);

/*============================================================================*/