From c4453df7214a3de4e6eefdc09b590b97a42c59d0 Mon Sep 17 00:00:00 2001 From: yaa110 Date: Sat, 21 Jan 2017 14:10:17 +0330 Subject: [PATCH] Add travis CI and badges --- .travis.yml | 18 ++++++++++++++++++ README.md | 3 +++ 2 files changed, 21 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5472324 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +language: rust +sudo: false +rust: + - 1.8.0 + - stable + - beta + - nightly +os: + - linux +matrix: + allow_failures: + - rust: nightly +env: + global: + - LD_LIBRARY_PATH: /usr/local/lib +script: + - cargo build -v + - cargo test -v \ No newline at end of file diff --git a/README.md b/README.md index e7cb957..529350a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ Rust Persian Calendar ===================== + +[![Build Status](https://travis-ci.org/yaa110/rust-persian-calendar.svg)](https://travis-ci.org/yaa110/rust-persian-calendar) [![License](http://img.shields.io/:license-mit-blue.svg)](https://github.com/yaa110/go-persian-calendar/blob/master/LICENSE) + **Rust Persian Calendar v0.1.0** provides functionality for conversion among Persian (Solar Hijri) and Gregorian calendars. A Julian calendar is used as an interface for all conversions. The crate name is `ptime` and it is compatible with the crate [time](https://crates.io/crates/time). This source code is licensed under MIT license that can be found in the LICENSE file. ## Installation