Skip to content

Commit f08c00c

Browse files
authored
Merge pull request #27 from dbrgn/ci
CI: Test on stable, nightly and 1.21
2 parents e6a0b07 + b514a01 commit f08c00c

File tree

3 files changed

+12
-17
lines changed

3 files changed

+12
-17
lines changed

.travis.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
language: rust
2+
rust:
3+
- 1.21.0
4+
- stable
5+
- nightly
26
sudo: false
37
script:
48
- cargo build --verbose
59
- cargo test --verbose
6-
- rustdoc --test README.md -L target/debug -L target/debug/deps
7-
- cargo doc
8-
after_success: |
9-
[ $TRAVIS_BRANCH = master ] &&
10-
[ $TRAVIS_PULL_REQUEST = false ] &&
11-
echo '<meta http-equiv=refresh content=0;url=unicode_normalization/index.html>' > target/doc/index.html &&
12-
pip install ghp-import --user $USER &&
13-
$HOME/.local/bin/ghp-import -n target/doc &&
14-
git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
15-
env:
16-
global:
17-
secure: Te91dtDN8uv5OBxVuMy+nvQ5GtnLU9r6amS9p6IbblVXyzXgXPQdFfAND+GXXfZNnsjAyS2LnZL4NcNOR4JF63H0KxTTDIGXLSUAmc0C98UhqWWvv5bjz4mY0YKs9MwuTBX9P0LdTZjvRTd+yJ2PYH7ORGen+ZuOmlPNE7lpzrg=
1810
notifications:
1911
email:
2012
on_success: never

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["kwantam <kwantam@gmail.com>"]
66

77
homepage = "https://github.com/unicode-rs/unicode-normalization"
88
repository = "https://github.com/unicode-rs/unicode-normalization"
9-
documentation = "https://unicode-rs.github.io/unicode-normalization"
9+
documentation = "https://docs.rs/unicode-normalization/"
1010

1111
license = "MIT/Apache-2.0"
1212
keywords = ["text", "unicode", "normalization", "decomposition", "recomposition"]

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1+
# unicode-normalization
2+
3+
[![Build Status](https://travis-ci.org/unicode-rs/unicode-normalization.svg)](https://travis-ci.org/unicode-rs/unicode-normalization)
4+
[![Docs](https://docs.rs/unicode-normalization/badge.svg)](https://docs.rs/unicode-normalization/)
5+
16
Unicode character composition and decomposition utilities
27
as described in
38
[Unicode Standard Annex #15](http://www.unicode.org/reports/tr15/).
49

5-
[![Build Status](https://travis-ci.org/unicode-rs/unicode-normalization.svg)](https://travis-ci.org/unicode-rs/unicode-normalization)
6-
7-
[Documentation](https://unicode-rs.github.io/unicode-normalization/unicode_normalization/index.html)
10+
This crate requires Rust 1.21+.
811

912
```rust
1013
extern crate unicode_normalization;
@@ -21,7 +24,7 @@ fn main() {
2124
}
2225
```
2326

24-
# crates.io
27+
## crates.io
2528

2629
You can use this package in your project by adding the following
2730
to your `Cargo.toml`:

0 commit comments

Comments
 (0)