From d6c1554bc1b293706ec70327a8d5cd2a3e41bdc7 Mon Sep 17 00:00:00 2001 From: Jules Bertholet Date: Mon, 20 May 2024 02:50:29 -0400 Subject: [PATCH] Fix CI link in README --- .travis.yml | 28 ---------------------------- Cargo.toml | 2 +- README.md | 2 +- 3 files changed, 2 insertions(+), 30 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 64196fa..0000000 --- a/.travis.yml +++ /dev/null @@ -1,28 +0,0 @@ -language: rust -rust: 'nightly' -sudo: false -script: - - cargo build --verbose --features bench - - cargo test --verbose --features bench - - cargo bench --verbose --features bench - - cargo clean - - cargo build --verbose - - cargo test --verbose -# next line is an ugly hack to fix an annoying bug where rustdoc tries to use the rustc_private unicode_width crate -# (there is probably a better fix than this) - - rm $(find /home/travis/.rustup -type f -name 'libunicode_width*') - - rustdoc --test README.md -L target/debug -L target/debug/deps - - cargo doc -after_success: | - [ $TRAVIS_BRANCH = master ] && - [ $TRAVIS_PULL_REQUEST = false ] && - echo '' > target/doc/index.html && - pip install ghp-import --user $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: vHL3zrN8AF+H79jrB8OfzuPqsUHevo6ECzwqXPj2dMSqcSXEeCY/ENAfiyFg+oW8yEVP8X2BS1a/C9yvVQRLqLbm1HbZ/5vUpoggT9S0IhKqZMyAcLYXfIEUDMDQuaSdFndDaHvq8275ScgX1LRv1kcPjQoZHuaXWMH8y/Suvyo= -notifications: - email: - on_success: never diff --git a/Cargo.toml b/Cargo.toml index 16fa8db..91e6749 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ according to Unicode Standard Annex #11 rules. """ edition = "2021" -exclude = ["target/*", "Cargo.lock"] +exclude = ["/.github/*"] [dependencies] std = { version = "1.0", package = "rustc-std-workspace-std", optional = true } diff --git a/README.md b/README.md index 2d9ea39..40b5947 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # `unicode-width` -[![Build status](https://github.com/unicode-rs/unicode-width/actions/workflows/rust.yml/badge.svg)](https://travis-ci.org/unicode-rs/unicode-width) +[![Build status](https://github.com/unicode-rs/unicode-width/actions/workflows/rust.yml/badge.svg)](https://github.com/unicode-rs/unicode-width/actions/workflows/rust.yml) [![crates.io version](https://img.shields.io/crates/v/unicode-width)](https://crates.io/crates/unicode-width) [![Docs status](https://img.shields.io/docsrs/unicode-width)](https://docs.rs/unicode-width/)