From 5caefca156fa380200663cc1c5d2f5bfb2702d08 Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Thu, 31 Aug 2023 13:35:08 +0200 Subject: [PATCH 1/4] Remove unused travis CI and fix README badge --- .travis.yml | 24 ------------------------ README.md | 2 +- 2 files changed, 1 insertion(+), 25 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index af011bd..0000000 --- a/.travis.yml +++ /dev/null @@ -1,24 +0,0 @@ -language: rust -rust: - - 1.24.0 - - stable -os: linux -script: - - cargo build --verbose - - | - if [ $TRAVIS_RUST_VERSION = stable ]; then cargo test --verbose || travis_terminate 1; fi - - cargo doc -after_success: | - [ $TRAVIS_RUST_VERSION = stable ] && - [ $TRAVIS_BRANCH = master ] && - [ $TRAVIS_PULL_REQUEST = false ] && - echo '' > target/doc/index.html && - pip install ghp-import --user && - $HOME/.local/bin/ghp-import -n target/doc && - git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages -env: - global: - secure: d3xB8MAHhj88le5WjaDmIsharVeZ+eDIbQtuPEkg5VjIsD+ZOc9ZY/y1Nrz3q8Xh3ytjYv78IWmxwn8UsRhimCZbgR4V4xkz8hSgIGn9dFbOvIpbeg6Tfvu2UO2YUOcNc/WtI/uymaMuZ2g8Fcg7K2ITEO2lXAcOFRpnBh2dXmA= -notifications: - email: - on_success: never diff --git a/README.md b/README.md index 284354c..a28dc17 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Iterators which split strings on Grapheme Cluster or Word boundaries, according to the [Unicode Standard Annex #29](http://www.unicode.org/reports/tr29/) rules. -[![Build Status](https://travis-ci.org/unicode-rs/unicode-segmentation.svg)](https://travis-ci.org/unicode-rs/unicode-segmentation) +[![Build Status](https://github.com/unicode-rs/unicode-segmentation/actions/workflows/rust.yml/badge.svg)](https://github.com/unicode-rs/unicode-segmentation/actions/workflows/rust.yml) [Documentation](https://unicode-rs.github.io/unicode-segmentation/unicode_segmentation/index.html) From 61bbcf78d9f77ef6a7c075be815807c57311e45b Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Thu, 31 Aug 2023 13:37:39 +0200 Subject: [PATCH 2/4] Fixup exclusions --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 84ef138..66c51da 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ This crate provides Grapheme Cluster, Word and Sentence boundaries according to Unicode Standard Annex #29 rules. """ -exclude = [ "target/*", "Cargo.lock", "scripts/tmp", "benches/texts/*", "*.txt", ] +exclude = ["/.github", "/scripts", "/benches/texts"] [features] no_std = [] # This is a no-op, preserved for backward compatibility only. From 712a933fbe9c892a6b1154ea0baa5fab05882f95 Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Thu, 31 Aug 2023 20:53:35 +0200 Subject: [PATCH 3/4] Add back scripts --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 66c51da..cf977e5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ This crate provides Grapheme Cluster, Word and Sentence boundaries according to Unicode Standard Annex #29 rules. """ -exclude = ["/.github", "/scripts", "/benches/texts"] +exclude = ["/.github", "/benches/texts"] [features] no_std = [] # This is a no-op, preserved for backward compatibility only. From c8461b1779bdd8ca88b1ba2e94744aeb19e8be70 Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Wed, 6 Sep 2023 08:00:56 +0200 Subject: [PATCH 4/4] Feedback --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index cf977e5..db124aa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ This crate provides Grapheme Cluster, Word and Sentence boundaries according to Unicode Standard Annex #29 rules. """ -exclude = ["/.github", "/benches/texts"] +exclude = ["/.github", "/benches/texts", "/scripts/**.rs", "*.txt"] [features] no_std = [] # This is a no-op, preserved for backward compatibility only.