Skip to content

Commit

Permalink
updated travis cfg; setup Cargo.toml for crates.io
Browse files Browse the repository at this point in the history
Added pertinent fields to Cargo.toml to publish on crates.io and
lib.rs

Updated .travis.yml - using bionic for build, tarpaulin binary can
now be pulled rather than built in-place.
  • Loading branch information
gbmor committed May 26, 2020
1 parent ffb92f1 commit a24e259
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ rust:
os:
- linux

dist: xenial
dist: bionic

addons:
apt:
Expand All @@ -21,8 +21,10 @@ addons:
- binutils-dev
- libiberty-dev

before_script:
- bash <(curl https://raw.githubusercontent.com/xd009642/tarpaulin/master/travis-install.sh)

script:
- cargo install cargo-tarpaulin
- cargo build --verbose
- cargo tarpaulin --out Xml
- bash <(curl -s https://codecov.io/bash)
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 11 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
[package]
name = "clinte"
version = "0.4.3"
version = "0.4.4"
authors = ["Ben Morrison <[email protected]>"]
edition = "2018"
description = "CLI note posting system for shared UNIX boxes."
repository = "https://github.com/gbmor/clinte"
readme = "README.md"
keywords = ["social", "unix", "notes", "messages"]
categories = ["command-line-utilities"]
license = "ISC"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[badges]
travis-ci = { repository = "gbmor/clinte", branch = "master" }
codecov = { repository = "gbmor/clinte", branch = "master", service = "github" }
maintenance = { status = "stable" }

[dependencies]
chrono = "^0.4"
Expand Down

0 comments on commit a24e259

Please sign in to comment.