From c664e872aaa0f99a96c191ffbbf06e85851df726 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Tue, 27 Aug 2019 23:53:32 -0400 Subject: update readme & travis config --- .travis.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++ README.md | 8 ++++++-- 2 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..bba0512 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,44 @@ +language: rust + +rust: + - stable + - beta + - nightly + +os: + - linux + +dist: xenial + +addons: + apt: + packages: + - libcurl4-openssl-dev + - libelf-dev + - libdw-dev + - libsqlcipher-dev + - libsqlcipher0 + - cmake + - gcc + - binutils-dev + - libiberty-dev + +before_script: + - | + if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then + cargo install grcov; + export CARGO_INCREMENTAL=0; + export RUSTFLAGS="-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zno-landing-pads"; + fi + +script: + - cargo build --verbose $CARGO_OPTIONS + - cargo test --verbose $CARGO_OPTIONS + +after_script: + - | + if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then + zip -0 ccov.zip `find . \( -name "clinte*.gc*" \) -print`; + grcov ccov.zip -s . -t lcov --llvm --branch --ignore-not-existing --ignore-dir "/*" -o lcov.info; + bash <(curl -s https://codecov.io/bash) -f lcov.info; + fi diff --git a/README.md b/README.md index 715de6c..5c789a5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ -# clinte +# clinte   [![Build Status](https://travis-ci.com/gbmor/clinte.svg?branch=master)](https://travis-ci.com/gbmor/clinte) -Command-line community notice board. +Command-line community notice board. Post simple notes for other users to see. Username is tagged automatically. + +Limits: +* Title -> 30 chars +* Body -> 500 chars -- cgit 1.4.1-2-gfad0