Skip to content

Commit 15994ca

Browse files
Added travis (#2)
* init first * init project * test failed * fixed build error * add travis * update version * fixed travis build * fixed build * fixed travis * fixed build
1 parent 7a95f14 commit 15994ca

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: c
2+
script:
3+
- cmake -B ./build -S .
4+
- cmake --build .
5+
6+
notifications:
7+
webhooks: https://www.travisbuddy.com/
8+
on_success: never
9+
on_failure: always

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
cmake_minimum_required(VERSION 3.15.4)
1+
cmake_minimum_required(VERSION 3.12.4)
2+
23
project(Examples C)
34

45
set(CMAKE_C_STANDARD 99)

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
# C
2-
All Examples for learning C programming.
1+
# C Programming Examples
2+
3+
[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/examplehub/C)
4+
[![Build Status](https://img.shields.io/travis/examplehub/C.svg?label=Travis%20CI&logo=travis&style=flat-square)](https://travis-ci.com/examplehub/C) 
5+
[![LGTM](https://img.shields.io/lgtm/alerts/github/examplehub/C.svg?label=LGTM&logo=LGTM&style=flat-square)](https://lgtm.com/projects/g/examplehub/C/alerts) 
6+
[![contributions welcome](https://img.shields.io/static/v1.svg?label=Contributions&message=Welcome&color=0059b3&style=flat-square)](https://github.com/examplehub/C/blob/master/CONTRIBUTING.md) 
7+
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg?logo=paypal&style=flat-square)](https://paypal.me/duyuanchao?locale.x=en_US) 
8+
![](https://img.shields.io/github/repo-size/examplehub/C.svg?label=Repo%20size&style=flat-square) 

0 commit comments

Comments
 (0)