diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..d484eae --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: python +python: + - "3.5" + +script: + - cd unihan && make update && make diff && cd - + - make merge_unihan diff --git a/README.md b/README.md index 7293807..e91697f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ -# pinyin-data +# pinyin-data [![Build Status](https://travis-ci.org/mozillazg/pinyin-data.svg?branch=master)](https://travis-ci.org/mozillazg/pinyin-data) 汉字拼音数据。 + ## 数据介绍 数据格式:`{code point}: {pinyins} # {hanzi}` (示例:`U+4E2D: zhōng,zhòng # 中`) @@ -19,6 +20,7 @@ * `pinyin.txt`: 合并上述文件后的拼音数据 * `zdic.txt`: [汉典网](http://zdic.net) 的拼音数据 + ## 参考资料 * [Unihan Database Lookup](http://www.unicode.org/charts/unihan.html)