From db18f924992047c6994bad1cd126a3665b61aa06 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Thu, 26 Dec 2019 06:31:06 +0300 Subject: [PATCH] ci: add travis ci --- .travis.yml | 18 ++++++++++++++++++ README.md | 2 +- itconfig_tests/tests/config_macro.rs | 2 -- 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..123739b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +language: rust +rust: + - stable + - beta + - nightly +cache: + directories: + - $HOME/.cargo + - $HOME/.rustup +before_cache: + - rm -rf /home/travis/.cargo/registry +script: + - | + rustc --version && + cargo test +matrix: + allow_failures: + - rust: nightly diff --git a/README.md b/README.md index cf16813..5b173ad 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # itconfig - +[![Build Status](https://travis-ci.org/icetemple/itconfig-rs.svg?branch=master)](https://travis-ci.org/icetemple/itconfig-rs) [![Documentation](https://docs.rs/itconfig/badge.svg)](https://docs.rs/itconfig) [![Crates.io](https://img.shields.io/badge/crates.io-v0.3.0-orange.svg?longCache=true)](https://crates.io/crates/itconfig) diff --git a/itconfig_tests/tests/config_macro.rs b/itconfig_tests/tests/config_macro.rs index 6fe446c..ea1f9ac 100644 --- a/itconfig_tests/tests/config_macro.rs +++ b/itconfig_tests/tests/config_macro.rs @@ -1,5 +1,3 @@ -#![feature(trace_macros)] - use std::env; #[macro_use]