Merge pull request #1 from hoily/circleci

Add CircleCI
This commit is contained in:
Jake Howard 2017-07-12 13:30:59 +01:00 committed by GitHub
commit 24cde6fe42
3 changed files with 15 additions and 10 deletions

View file

@ -1,9 +0,0 @@
language: rust
rust:
- stable
script:
- cargo build --verbose
- cargo test --verbose
- cargo build --verbose --release
- cargo test --verbose --release

View file

@ -1,5 +1,5 @@
# md-pdf
[![Travis](https://img.shields.io/travis/hoily/md-pdf.svg?style=flat-square)](https://travis-ci.org/hoily/md-pdf)
[![CircleCI](https://img.shields.io/circleci/project/github/hoily/md-pdf.svg?style=flat-square)](https://circleci.com/gh/hoily/md-pdf)
Convert markdown files into PDF Documents.

14
circle.yml Normal file
View file

@ -0,0 +1,14 @@
machine:
environment:
PATH: "$HOME/.cargo/bin:$PATH"
dependencies:
pre:
- curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y
test:
override:
- cargo build
- cargo build --release
- cargo test
- cargo test --release