diff options
author | Matthew Maurer <mmaurer@google.com> | 2020-06-02 11:15:36 -0700 |
---|---|---|
committer | Matthew Maurer <mmaurer@google.com> | 2020-06-02 11:15:36 -0700 |
commit | 19837bd4c1c02dc495b44385e8b54e2d6107b128 (patch) | |
tree | 4f40504ff364cf9ae98b7c625c23bd6c91dc96a5 /.travis.yml | |
parent | bf283f98eb38890dea8c70cbd4f33e0d4edd966c (diff) | |
download | unicode-width-19837bd4c1c02dc495b44385e8b54e2d6107b128.tar.gz |
Import unicode-width-0.1.7
Change-Id: Icef9ef036f60c2a7c1db838b5b1fd2874bef949a
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..64196fa --- /dev/null +++ b/.travis.yml @@ -0,0 +1,28 @@ +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 '<meta http-equiv=refresh content=0;url=unicode_width/index.html>' > 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 |