diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ce8bb06 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +language: rust +rust: + - stable + +cache: cargo + +before_script: + - rustup component add rustfmt-preview + +script: + - cargo fmt --all -- --check + - cargo test + +notifications: + email: + on_failure: change + on_success: change diff --git a/Cargo.toml b/Cargo.toml index 96ce450..5b4a217 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,6 +7,9 @@ repository = "https://github.com/PoiScript/orgize" license = "MIT" keywords = ["orgmode","emacs","parser"] +[badges] +travis-ci = { repository = "PoiScript/orgize" } + [dependencies] jetscii = "0.4.3" memchr = "2"