From 1dd7f43cc1365935b712978720dbb20503d9ab65 Mon Sep 17 00:00:00 2001 From: Tpt Date: Wed, 16 May 2018 17:46:04 +0200 Subject: [PATCH] Adds Travis build --- .travis.yml | 10 ++++++++++ Cargo.toml | 3 +++ README.md | 2 ++ 3 files changed, 15 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..a8ef108d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: rust +rust: + - stable + - beta + - nightly +matrix: + allow_failures: + - rust: nightly + fast_finish: true +cache: cargo \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index 715d49ae..73b06cee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,9 @@ An RDF library in Rust """ build = "build.rs" +[badges] +travis-ci = { repository = "Tpt/rudf" } + [dependencies] lazy_static = "^1.0" diff --git a/README.md b/README.md index 5dc8a3bc..bda5c48c 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ This library is a work in progress of a [RDF](https://www.w3.org/RDF/) stack imp Its goal is to provide a compliant, safe and fast implementation of W3C specifications in Rust. +[![Build Status](https://travis-ci.org/Tpt/rudf.svg?branch=master)](https://travis-ci.org/Tpt/rudf) + # License