Merge pull request #2 from icetemple/ci-travis

ci: add travis ci
This commit is contained in:
Dmitriy Pleshevskiy 2019-12-26 06:43:36 +03:00 committed by GitHub
commit cb757d0464
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 3 deletions

18
.travis.yml Normal file
View file

@ -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

View file

@ -1,5 +1,5 @@
# itconfig # 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) [![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) [![Crates.io](https://img.shields.io/badge/crates.io-v0.3.0-orange.svg?longCache=true)](https://crates.io/crates/itconfig)

View file

@ -1,5 +1,3 @@
#![feature(trace_macros)]
use std::env; use std::env;
#[macro_use] #[macro_use]