Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(iojs-3): travis test by iojs-3 #61

Closed
wants to merge 1 commit into from
Closed

test(iojs-3): travis test by iojs-3 #61

wants to merge 1 commit into from

Conversation

hotoo
Copy link
Owner

@hotoo hotoo commented Aug 24, 2015

No description provided.

@hotoo hotoo mentioned this pull request Aug 24, 2015
@chrisyip
Copy link
Contributor

npm 有关的测试是没问题的,io.js v3.0v3.1 都测试了,但是 spm 跑不过去:

npm install

> nodejieba@1.3.0 install /Users/Chris/Workspace/node/pinyin/node_modules/nodejieba
> node-gyp rebuild

  CXX(target) Release/obj.target/nodejieba/lib/index.o
  CXX(target) Release/obj.target/nodejieba/lib/nodejieba.o
  SOLINK_MODULE(target) Release/nodejieba.node
ld: warning: object file (Release/obj.target/nodejieba/lib/index.o) was built for newer OSX version (10.7) than being linked (10.5)
ld: warning: object file (Release/obj.target/nodejieba/lib/nodejieba.o) was built for newer OSX version (10.7) than being linked (10.5)
expect.js@0.3.1 node_modules/expect.js

benchmark@1.0.0 node_modules/benchmark

commander@1.1.1 node_modules/commander
└── keypress@0.1.0

should@7.0.4 node_modules/should
├── should-type@0.2.0
├── should-equal@0.5.0
└── should-format@0.3.0

request@2.33.0 node_modules/request
├── aws-sign2@0.5.0
├── qs@0.6.6
├── forever-agent@0.5.2
├── oauth-sign@0.3.0
├── tunnel-agent@0.3.0
├── json-stringify-safe@5.0.1
├── mime@1.2.11
├── node-uuid@1.4.3
├── tough-cookie@2.0.0
├── http-signature@0.10.1 (assert-plus@0.1.5, asn1@0.1.11, ctype@0.5.3)
├── hawk@1.0.0 (cryptiles@0.2.2, sntp@0.2.4, boom@0.4.2, hoek@0.9.1)
└── form-data@0.1.4 (async@0.9.2, combined-stream@0.0.7)

mocha@1.17.1 node_modules/mocha
├── diff@1.0.7
├── growl@1.7.0
├── commander@2.0.0
├── mkdirp@0.3.5
├── jade@0.26.3 (commander@0.6.1, mkdirp@0.3.0)
├── debug@2.2.0 (ms@0.7.1)
└── glob@3.2.3 (inherits@2.0.1, graceful-fs@2.0.3, minimatch@0.2.14)

istanbul@0.3.18 node_modules/istanbul
├── supports-color@1.3.1
├── which@1.0.9
├── abbrev@1.0.7
├── async@1.4.2
├── wordwrap@0.0.3
├── nopt@3.0.3
├── esprima@2.5.0
├── resolve@1.1.6
├── once@1.3.2 (wrappy@1.0.1)
├── mkdirp@0.5.1 (minimist@0.0.8)
├── fileset@0.2.1 (glob@5.0.14, minimatch@2.0.10)
├── escodegen@1.6.1 (esutils@1.1.6, estraverse@1.9.3, esprima@1.2.5, optionator@0.5.0, source-map@0.1.43)
├── handlebars@3.0.0 (optimist@0.6.1, source-map@0.1.43, uglify-js@2.3.6)
└── js-yaml@3.4.0 (esprima@2.2.0, argparse@1.0.2)

eslint@0.24.1 node_modules/eslint
├── escape-string-regexp@1.0.3
├── object-assign@2.1.1
├── path-is-absolute@1.0.0
├── xml-escape@1.0.0
├── user-home@1.1.1
├── strip-json-comments@1.0.4
├── estraverse-fb@1.3.1
├── globals@8.6.0
├── estraverse@4.1.0
├── text-table@0.2.0
├── debug@2.2.0 (ms@0.7.1)
├── espree@2.2.4
├── mkdirp@0.5.1 (minimist@0.0.8)
├── doctrine@0.6.4 (isarray@0.0.1, esutils@1.1.6)
├── chalk@1.1.1 (supports-color@2.0.0, ansi-styles@2.1.0, strip-ansi@3.0.0, has-ansi@2.0.0)
├── concat-stream@1.5.0 (inherits@2.0.1, typedarray@0.0.6, readable-stream@2.0.2)
├── minimatch@2.0.10 (brace-expansion@1.1.0)
├── optionator@0.5.0 (fast-levenshtein@1.0.7, type-check@0.3.1, deep-is@0.1.3, levn@0.2.5, wordwrap@0.0.3, prelude-ls@1.1.2)
├── is-my-json-valid@2.12.1 (jsonpointer@1.1.0, generate-function@2.0.0, xtend@4.0.0, generate-object-property@1.2.0)
├── inquirer@0.8.5 (figures@1.3.5, ansi-regex@1.1.1, cli-width@1.0.1, through@2.3.8, lodash@3.10.1, readline2@0.1.1, rx@2.5.3)
├── js-yaml@3.4.0 (esprima@2.2.0, argparse@1.0.2)
└── escope@3.2.0 (esrecurse@3.1.1, estraverse@3.1.0, es6-weak-map@0.1.4, es6-map@0.1.1)

nodejieba@1.3.0 node_modules/nodejieba
└── nan@2.0.5
make test-npm


  pinyin
    ✓ pinyin("我", STYLE_NORMAL) : [["wo"]] === [["wo"]]
    ✓ pinyin("我", STYLE_NORMAL,heteronym) : [["wo"]] === [["wo"]]
    ✓ pinyin("我", STYLE_NORMAL,heteronym,segment) : [["wo"]] === [["wo"]]
    ✓ pinyin("我", STYLE_TONE) : [["wǒ"]] === [["wǒ"]]
    ✓ pinyin("我", STYLE_TONE,heteronym) : [["wǒ"]] === [["wǒ"]]
    ✓ pinyin("我", STYLE_TONE,heteronym,segment) : [["wǒ"]] === [["wǒ"]]
    ✓ pinyin("我", STYLE_TONE2) : [["wo3"]] === [["wo3"]]
    ✓ pinyin("我", STYLE_TONE2,heteronym) : [["wo3"]] === [["wo3"]]
    ✓ pinyin("我", STYLE_TONE2,heteronym,segment) : [["wo3"]] === [["wo3"]]
    ✓ pinyin("我", STYLE_INITIALS) : [[""]] === [[""]]
    ✓ pinyin("我", STYLE_INITIALS,heteronym) : [[""]] === [[""]]
    ✓ pinyin("我", STYLE_INITIALS,heteronym,segment) : [[""]] === [[""]]
    ✓ pinyin("我", STYLE_FIRST_LETTER) : [["w"]] === [["w"]]
    ✓ pinyin("我", STYLE_FIRST_LETTER,heteronym) : [["w"]] === [["w"]]
    ✓ pinyin("我", STYLE_FIRST_LETTER,heteronym,segment) : [["w"]] === [["w"]]
    ✓ pinyin("中", STYLE_NORMAL) : [["zhong"]] === [["zhong"]]
    ✓ pinyin("中", STYLE_NORMAL,heteronym) : [["zhong"]] === [["zhong"]]
    ✓ pinyin("中", STYLE_NORMAL,heteronym,segment) : [["zhong"]] === [["zhong"]]
    ✓ pinyin("中", STYLE_TONE) : [["zhōng"]] === [["zhōng"]]
    ✓ pinyin("中", STYLE_TONE,heteronym) : [["zhōng","zhòng"]] === [["zhōng","zhòng"]]
    ✓ pinyin("中", STYLE_TONE,heteronym,segment) : [["zhōng","zhòng"]] === [["zhōng","zhòng"]]
    ✓ pinyin("中", STYLE_TONE2) : [["zhong1"]] === [["zhong1"]]
    ✓ pinyin("中", STYLE_TONE2,heteronym) : [["zhong1","zhong4"]] === [["zhong1","zhong4"]]
    ✓ pinyin("中", STYLE_TONE2,heteronym,segment) : [["zhong1","zhong4"]] === [["zhong1","zhong4"]]
    ✓ pinyin("中", STYLE_INITIALS) : [["zh"]] === [["zh"]]
    ✓ pinyin("中", STYLE_INITIALS,heteronym) : [["zh"]] === [["zh"]]
    ✓ pinyin("中", STYLE_INITIALS,heteronym,segment) : [["zh"]] === [["zh"]]
    ✓ pinyin("中", STYLE_FIRST_LETTER) : [["z"]] === [["z"]]
    ✓ pinyin("中", STYLE_FIRST_LETTER,heteronym) : [["z"]] === [["z"]]
    ✓ pinyin("中", STYLE_FIRST_LETTER,heteronym,segment) : [["z"]] === [["z"]]
    ✓ pinyin("爱", STYLE_NORMAL) : [["ai"]] === [["ai"]]
    ✓ pinyin("爱", STYLE_NORMAL,heteronym) : [["ai"]] === [["ai"]]
    ✓ pinyin("爱", STYLE_NORMAL,heteronym,segment) : [["ai"]] === [["ai"]]
    ✓ pinyin("爱", STYLE_TONE) : [["ài"]] === [["ài"]]
    ✓ pinyin("爱", STYLE_TONE,heteronym) : [["ài"]] === [["ài"]]
    ✓ pinyin("爱", STYLE_TONE,heteronym,segment) : [["ài"]] === [["ài"]]
    ✓ pinyin("爱", STYLE_TONE2) : [["ai4"]] === [["ai4"]]
    ✓ pinyin("爱", STYLE_TONE2,heteronym) : [["ai4"]] === [["ai4"]]
    ✓ pinyin("爱", STYLE_TONE2,heteronym,segment) : [["ai4"]] === [["ai4"]]
    ✓ pinyin("爱", STYLE_INITIALS) : [[""]] === [[""]]
    ✓ pinyin("爱", STYLE_INITIALS,heteronym) : [[""]] === [[""]]
    ✓ pinyin("爱", STYLE_INITIALS,heteronym,segment) : [[""]] === [[""]]
    ✓ pinyin("爱", STYLE_FIRST_LETTER) : [["a"]] === [["a"]]
    ✓ pinyin("爱", STYLE_FIRST_LETTER,heteronym) : [["a"]] === [["a"]]
    ✓ pinyin("爱", STYLE_FIRST_LETTER,heteronym,segment) : [["a"]] === [["a"]]
    ✓ pinyin("啊", STYLE_NORMAL) : [["a"]] === [["a"]]
    ✓ pinyin("啊", STYLE_NORMAL,heteronym) : [["a"]] === [["a"]]
    ✓ pinyin("啊", STYLE_NORMAL,heteronym,segment) : [["a"]] === [["a"]]
    ✓ pinyin("啊", STYLE_TONE) : [["ā"]] === [["ā"]]
    ✓ pinyin("啊", STYLE_TONE,heteronym) : [["ā","á","ǎ","à","a"]] === [["ā","á","ǎ","à","a"]]
    ✓ pinyin("啊", STYLE_TONE,heteronym,segment) : [["ā","á","ǎ","à","a"]] === [["ā","á","ǎ","à","a"]]
    ✓ pinyin("啊", STYLE_TONE2) : [["a1"]] === [["a1"]]
    ✓ pinyin("啊", STYLE_TONE2,heteronym) : [["a1","a2","a3","a4","a"]] === [["a1","a2","a3","a4","a"]]
    ✓ pinyin("啊", STYLE_TONE2,heteronym,segment) : [["a1","a2","a3","a4","a"]] === [["a1","a2","a3","a4","a"]]
    ✓ pinyin("啊", STYLE_INITIALS) : [[""]] === [[""]]
    ✓ pinyin("啊", STYLE_INITIALS,heteronym) : [[""]] === [[""]]
    ✓ pinyin("啊", STYLE_INITIALS,heteronym,segment) : [[""]] === [[""]]
    ✓ pinyin("啊", STYLE_FIRST_LETTER) : [["a"]] === [["a"]]
    ✓ pinyin("啊", STYLE_FIRST_LETTER,heteronym) : [["a"]] === [["a"]]
    ✓ pinyin("啊", STYLE_FIRST_LETTER,heteronym,segment) : [["a"]] === [["a"]]
    ✓ pinyin("我是谁", STYLE_NORMAL) : [["wo"],["shi"],["shui"]] === [["wo"],["shi"],["shui"]]
    ✓ pinyin("我是谁", STYLE_NORMAL,heteronym) : [["wo"],["shi"],["shui"]] === [["wo"],["shi"],["shui"]]
    ✓ pinyin("我是谁", STYLE_NORMAL,heteronym,segment) : [["wo"],["shi"],["shui"]] === [["wo"],["shi"],["shui"]]
    ✓ pinyin("我是谁", STYLE_TONE) : [["wǒ"],["shì"],["shuí"]] === [["wǒ"],["shì"],["shuí"]]
    ✓ pinyin("我是谁", STYLE_TONE,heteronym) : [["wǒ"],["shì"],["shuí"]] === [["wǒ"],["shì"],["shuí"]]
    ✓ pinyin("我是谁", STYLE_TONE,heteronym,segment) : [["wǒ"],["shì"],["shuí"]] === [["wǒ"],["shì"],["shuí"]]
    ✓ pinyin("我是谁", STYLE_TONE2) : [["wo3"],["shi4"],["shui2"]] === [["wo3"],["shi4"],["shui2"]]
    ✓ pinyin("我是谁", STYLE_TONE2,heteronym) : [["wo3"],["shi4"],["shui2"]] === [["wo3"],["shi4"],["shui2"]]
    ✓ pinyin("我是谁", STYLE_TONE2,heteronym,segment) : [["wo3"],["shi4"],["shui2"]] === [["wo3"],["shi4"],["shui2"]]
    ✓ pinyin("我是谁", STYLE_INITIALS) : [[""],["sh"],["sh"]] === [[""],["sh"],["sh"]]
    ✓ pinyin("我是谁", STYLE_INITIALS,heteronym) : [[""],["sh"],["sh"]] === [[""],["sh"],["sh"]]
    ✓ pinyin("我是谁", STYLE_INITIALS,heteronym,segment) : [[""],["sh"],["sh"]] === [[""],["sh"],["sh"]]
    ✓ pinyin("我是谁", STYLE_FIRST_LETTER) : [["w"],["s"],["s"]] === [["w"],["s"],["s"]]
    ✓ pinyin("我是谁", STYLE_FIRST_LETTER,heteronym) : [["w"],["s"],["s"]] === [["w"],["s"],["s"]]
    ✓ pinyin("我是谁", STYLE_FIRST_LETTER,heteronym,segment) : [["w"],["s"],["s"]] === [["w"],["s"],["s"]]
    ✓ pinyin("中国", STYLE_NORMAL) : [["zhong"],["guo"]] === [["zhong"],["guo"]]
    ✓ pinyin("中国", STYLE_NORMAL,heteronym) : [["zhong"],["guo"]] === [["zhong"],["guo"]]
    ✓ pinyin("中国", STYLE_NORMAL,heteronym,segment) : [["zhong"],["guo"]] === [["zhong"],["guo"]]
    ✓ pinyin("中国", STYLE_TONE) : [["zhōng"],["guó"]] === [["zhōng"],["guó"]]
    ✓ pinyin("中国", STYLE_TONE,heteronym) : [["zhōng","zhòng"],["guó"]] === [["zhōng","zhòng"],["guó"]]
    ✓ pinyin("中国", STYLE_TONE,heteronym,segment) : [["zhōng"],["guó"]] === [["zhōng"],["guó"]]
    ✓ pinyin("中国", STYLE_TONE2) : [["zhong1"],["guo2"]] === [["zhong1"],["guo2"]]
    ✓ pinyin("中国", STYLE_TONE2,heteronym) : [["zhong1","zhong4"],["guo2"]] === [["zhong1","zhong4"],["guo2"]]
    ✓ pinyin("中国", STYLE_TONE2,heteronym,segment) : [["zhong1"],["guo2"]] === [["zhong1"],["guo2"]]
    ✓ pinyin("中国", STYLE_INITIALS) : [["zh"],["g"]] === [["zh"],["g"]]
    ✓ pinyin("中国", STYLE_INITIALS,heteronym) : [["zh"],["g"]] === [["zh"],["g"]]
    ✓ pinyin("中国", STYLE_INITIALS,heteronym,segment) : [["zh"],["g"]] === [["zh"],["g"]]
    ✓ pinyin("中国", STYLE_FIRST_LETTER) : [["z"],["g"]] === [["z"],["g"]]
    ✓ pinyin("中国", STYLE_FIRST_LETTER,heteronym) : [["z"],["g"]] === [["z"],["g"]]
    ✓ pinyin("中国", STYLE_FIRST_LETTER,heteronym,segment) : [["z"],["g"]] === [["z"],["g"]]
    ✓ pinyin("重心", STYLE_NORMAL) : [["zhong"],["xin"]] === [["zhong"],["xin"]]
    ✓ pinyin("重心", STYLE_NORMAL,heteronym) : [["zhong","chong"],["xin"]] === [["zhong","chong"],["xin"]]
    ✓ pinyin("重心", STYLE_NORMAL,heteronym,segment) : [["zhong"],["xin"]] === [["zhong"],["xin"]]
    ✓ pinyin("重心", STYLE_TONE) : [["zhòng"],["xīn"]] === [["zhòng"],["xīn"]]
    ✓ pinyin("重心", STYLE_TONE,heteronym) : [["zhòng","chóng"],["xīn"]] === [["zhòng","chóng"],["xīn"]]
    ✓ pinyin("重心", STYLE_TONE,heteronym,segment) : [["zhòng"],["xīn"]] === [["zhòng"],["xīn"]]
    ✓ pinyin("重心", STYLE_TONE2) : [["zhong4"],["xin1"]] === [["zhong4"],["xin1"]]
    ✓ pinyin("重心", STYLE_TONE2,heteronym) : [["zhong4","chong2"],["xin1"]] === [["zhong4","chong2"],["xin1"]]
    ✓ pinyin("重心", STYLE_TONE2,heteronym,segment) : [["zhong4"],["xin1"]] === [["zhong4"],["xin1"]]
    ✓ pinyin("重心", STYLE_INITIALS) : [["zh"],["x"]] === [["zh"],["x"]]
    ✓ pinyin("重心", STYLE_INITIALS,heteronym) : [["zh","ch"],["x"]] === [["zh","ch"],["x"]]
    ✓ pinyin("重心", STYLE_INITIALS,heteronym,segment) : [["zh"],["x"]] === [["zh"],["x"]]
    ✓ pinyin("重心", STYLE_FIRST_LETTER) : [["z"],["x"]] === [["z"],["x"]]
    ✓ pinyin("重心", STYLE_FIRST_LETTER,heteronym) : [["z","c"],["x"]] === [["z","c"],["x"]]
    ✓ pinyin("重心", STYLE_FIRST_LETTER,heteronym,segment) : [["z"],["x"]] === [["z"],["x"]]
    ✓ pinyin("a", STYLE_NORMAL) : [["a"]] === [["a"]]
    ✓ pinyin("a", STYLE_NORMAL,heteronym) : [["a"]] === [["a"]]
    ✓ pinyin("a", STYLE_NORMAL,heteronym,segment) : [["a"]] === [["a"]]
    ✓ pinyin("a", STYLE_TONE) : [["a"]] === [["a"]]
    ✓ pinyin("a", STYLE_TONE,heteronym) : [["a"]] === [["a"]]
    ✓ pinyin("a", STYLE_TONE,heteronym,segment) : [["a"]] === [["a"]]
    ✓ pinyin("a", STYLE_TONE2) : [["a"]] === [["a"]]
    ✓ pinyin("a", STYLE_TONE2,heteronym) : [["a"]] === [["a"]]
    ✓ pinyin("a", STYLE_TONE2,heteronym,segment) : [["a"]] === [["a"]]
    ✓ pinyin("a", STYLE_INITIALS) : [["a"]] === [["a"]]
    ✓ pinyin("a", STYLE_INITIALS,heteronym) : [["a"]] === [["a"]]
    ✓ pinyin("a", STYLE_INITIALS,heteronym,segment) : [["a"]] === [["a"]]
    ✓ pinyin("a", STYLE_FIRST_LETTER) : [["a"]] === [["a"]]
    ✓ pinyin("a", STYLE_FIRST_LETTER,heteronym) : [["a"]] === [["a"]]
    ✓ pinyin("a", STYLE_FIRST_LETTER,heteronym,segment) : [["a"]] === [["a"]]
    ✓ pinyin("aa", STYLE_NORMAL) : [["aa"]] === [["aa"]]
    ✓ pinyin("aa", STYLE_NORMAL,heteronym) : [["aa"]] === [["aa"]]
    ✓ pinyin("aa", STYLE_NORMAL,heteronym,segment) : [["aa"]] === [["aa"]]
    ✓ pinyin("aa", STYLE_TONE) : [["aa"]] === [["aa"]]
    ✓ pinyin("aa", STYLE_TONE,heteronym) : [["aa"]] === [["aa"]]
    ✓ pinyin("aa", STYLE_TONE,heteronym,segment) : [["aa"]] === [["aa"]]
    ✓ pinyin("aa", STYLE_TONE2) : [["aa"]] === [["aa"]]
    ✓ pinyin("aa", STYLE_TONE2,heteronym) : [["aa"]] === [["aa"]]
    ✓ pinyin("aa", STYLE_TONE2,heteronym,segment) : [["aa"]] === [["aa"]]
    ✓ pinyin("aa", STYLE_INITIALS) : [["aa"]] === [["aa"]]
    ✓ pinyin("aa", STYLE_INITIALS,heteronym) : [["aa"]] === [["aa"]]
    ✓ pinyin("aa", STYLE_INITIALS,heteronym,segment) : [["aa"]] === [["aa"]]
    ✓ pinyin("aa", STYLE_FIRST_LETTER) : [["aa"]] === [["aa"]]
    ✓ pinyin("aa", STYLE_FIRST_LETTER,heteronym) : [["aa"]] === [["aa"]]
    ✓ pinyin("aa", STYLE_FIRST_LETTER,heteronym,segment) : [["aa"]] === [["aa"]]
    ✓ pinyin("一 一", STYLE_NORMAL) : [["yi"],[" "],["yi"]] === [["yi"],[" "],["yi"]]
    ✓ pinyin("一 一", STYLE_NORMAL,heteronym) : [["yi"],[" "],["yi"]] === [["yi"],[" "],["yi"]]
    ✓ pinyin("一 一", STYLE_NORMAL,heteronym,segment) : [["yi"],[" "],["yi"]] === [["yi"],[" "],["yi"]]
    ✓ pinyin("一 一", STYLE_TONE) : [["yī"],[" "],["yī"]] === [["yī"],[" "],["yī"]]
    ✓ pinyin("一 一", STYLE_TONE,heteronym) : [["yī"],[" "],["yī"]] === [["yī"],[" "],["yī"]]
    ✓ pinyin("一 一", STYLE_TONE,heteronym,segment) : [["yī"],[" "],["yī"]] === [["yī"],[" "],["yī"]]
    ✓ pinyin("一 一", STYLE_TONE2) : [["yi1"],[" "],["yi1"]] === [["yi1"],[" "],["yi1"]]
    ✓ pinyin("一 一", STYLE_TONE2,heteronym) : [["yi1"],[" "],["yi1"]] === [["yi1"],[" "],["yi1"]]
    ✓ pinyin("一 一", STYLE_TONE2,heteronym,segment) : [["yi1"],[" "],["yi1"]] === [["yi1"],[" "],["yi1"]]
    ✓ pinyin("一 一", STYLE_INITIALS) : [[""],[" "],[""]] === [[""],[" "],[""]]
    ✓ pinyin("一 一", STYLE_INITIALS,heteronym) : [[""],[" "],[""]] === [[""],[" "],[""]]
    ✓ pinyin("一 一", STYLE_INITIALS,heteronym,segment) : [[""],[" "],[""]] === [[""],[" "],[""]]
    ✓ pinyin("一 一", STYLE_FIRST_LETTER) : [["y"],[" "],["y"]] === [["y"],[" "],["y"]]
    ✓ pinyin("一 一", STYLE_FIRST_LETTER,heteronym) : [["y"],[" "],["y"]] === [["y"],[" "],["y"]]
    ✓ pinyin("一 一", STYLE_FIRST_LETTER,heteronym,segment) : [["y"],[" "],["y"]] === [["y"],[" "],["y"]]
    ✓ pinyin("拼音(pinyin)", STYLE_NORMAL) : [["pin"],["yin"],["(pinyin)"]] === [["pin"],["yin"],["(pinyin)"]]
    ✓ pinyin("拼音(pinyin)", STYLE_NORMAL,heteronym) : [["pin"],["yin"],["(pinyin)"]] === [["pin"],["yin"],["(pinyin)"]]
    ✓ pinyin("拼音(pinyin)", STYLE_NORMAL,heteronym,segment) : [["pin"],["yin"],["(pinyin)"]] === [["pin"],["yin"],["(pinyin)"]]
    ✓ pinyin("拼音(pinyin)", STYLE_TONE) : [["pīn"],["yīn"],["(pinyin)"]] === [["pīn"],["yīn"],["(pinyin)"]]
    ✓ pinyin("拼音(pinyin)", STYLE_TONE,heteronym) : [["pīn"],["yīn"],["(pinyin)"]] === [["pīn"],["yīn"],["(pinyin)"]]
    ✓ pinyin("拼音(pinyin)", STYLE_TONE,heteronym,segment) : [["pīn"],["yīn"],["(pinyin)"]] === [["pīn"],["yīn"],["(pinyin)"]]
    ✓ pinyin("拼音(pinyin)", STYLE_TONE2) : [["pin1"],["yin1"],["(pinyin)"]] === [["pin1"],["yin1"],["(pinyin)"]]
    ✓ pinyin("拼音(pinyin)", STYLE_TONE2,heteronym) : [["pin1"],["yin1"],["(pinyin)"]] === [["pin1"],["yin1"],["(pinyin)"]]
    ✓ pinyin("拼音(pinyin)", STYLE_TONE2,heteronym,segment) : [["pin1"],["yin1"],["(pinyin)"]] === [["pin1"],["yin1"],["(pinyin)"]]
    ✓ pinyin("拼音(pinyin)", STYLE_INITIALS) : [["p"],[""],["(pinyin)"]] === [["p"],[""],["(pinyin)"]]
    ✓ pinyin("拼音(pinyin)", STYLE_INITIALS,heteronym) : [["p"],[""],["(pinyin)"]] === [["p"],[""],["(pinyin)"]]
    ✓ pinyin("拼音(pinyin)", STYLE_INITIALS,heteronym,segment) : [["p"],[""],["(pinyin)"]] === [["p"],[""],["(pinyin)"]]
    ✓ pinyin("拼音(pinyin)", STYLE_FIRST_LETTER) : [["p"],["y"],["(pinyin)"]] === [["p"],["y"],["(pinyin)"]]
    ✓ pinyin("拼音(pinyin)", STYLE_FIRST_LETTER,heteronym) : [["p"],["y"],["(pinyin)"]] === [["p"],["y"],["(pinyin)"]]
    ✓ pinyin("拼音(pinyin)", STYLE_FIRST_LETTER,heteronym,segment) : [["p"],["y"],["(pinyin)"]] === [["p"],["y"],["(pinyin)"]]
    ✓ pinyin("中国(china)", STYLE_NORMAL) : [["zhong"],["guo"],["(china)"]] === [["zhong"],["guo"],["(china)"]]
    ✓ pinyin("中国(china)", STYLE_NORMAL,heteronym) : [["zhong"],["guo"],["(china)"]] === [["zhong"],["guo"],["(china)"]]
    ✓ pinyin("中国(china)", STYLE_NORMAL,heteronym,segment) : [["zhong"],["guo"],["(china)"]] === [["zhong"],["guo"],["(china)"]]
    ✓ pinyin("中国(china)", STYLE_TONE) : [["zhōng"],["guó"],["(china)"]] === [["zhōng"],["guó"],["(china)"]]
    ✓ pinyin("中国(china)", STYLE_TONE,heteronym) : [["zhōng","zhòng"],["guó"],["(china)"]] === [["zhōng","zhòng"],["guó"],["(china)"]]
    ✓ pinyin("中国(china)", STYLE_TONE,heteronym,segment) : [["zhōng"],["guó"],["(china)"]] === [["zhōng"],["guó"],["(china)"]]
    ✓ pinyin("中国(china)", STYLE_TONE2) : [["zhong1"],["guo2"],["(china)"]] === [["zhong1"],["guo2"],["(china)"]]
    ✓ pinyin("中国(china)", STYLE_TONE2,heteronym) : [["zhong1","zhong4"],["guo2"],["(china)"]] === [["zhong1","zhong4"],["guo2"],["(china)"]]
    ✓ pinyin("中国(china)", STYLE_TONE2,heteronym,segment) : [["zhong1"],["guo2"],["(china)"]] === [["zhong1"],["guo2"],["(china)"]]
    ✓ pinyin("中国(china)", STYLE_INITIALS) : [["zh"],["g"],["(china)"]] === [["zh"],["g"],["(china)"]]
    ✓ pinyin("中国(china)", STYLE_INITIALS,heteronym) : [["zh"],["g"],["(china)"]] === [["zh"],["g"],["(china)"]]
    ✓ pinyin("中国(china)", STYLE_INITIALS,heteronym,segment) : [["zh"],["g"],["(china)"]] === [["zh"],["g"],["(china)"]]
    ✓ pinyin("中国(china)", STYLE_FIRST_LETTER) : [["z"],["g"],["(china)"]] === [["z"],["g"],["(china)"]]
    ✓ pinyin("中国(china)", STYLE_FIRST_LETTER,heteronym) : [["z"],["g"],["(china)"]] === [["z"],["g"],["(china)"]]
    ✓ pinyin("中国(china)", STYLE_FIRST_LETTER,heteronym,segment) : [["z"],["g"],["(china)"]] === [["z"],["g"],["(china)"]]
    ✓ pinyin("0套价", STYLE_NORMAL) : [["0"],["tao"],["jia"]] === [["0"],["tao"],["jia"]]
    ✓ pinyin("0套价", STYLE_NORMAL,heteronym) : [["0"],["tao"],["jia","jie"]] === [["0"],["tao"],["jia","jie"]]
    ✓ pinyin("0套价", STYLE_NORMAL,heteronym,segment) : [["0"],["tao"],["jia","jie"]] === [["0"],["tao"],["jia","jie"]]
    ✓ pinyin("0套价", STYLE_TONE) : [["0"],["tào"],["jià"]] === [["0"],["tào"],["jià"]]
    ✓ pinyin("0套价", STYLE_TONE,heteronym) : [["0"],["tào"],["jià","jiè","jie"]] === [["0"],["tào"],["jià","jiè","jie"]]
    ✓ pinyin("0套价", STYLE_TONE,heteronym,segment) : [["0"],["tào"],["jià","jiè","jie"]] === [["0"],["tào"],["jià","jiè","jie"]]
    ✓ pinyin("0套价", STYLE_TONE2) : [["0"],["tao4"],["jia4"]] === [["0"],["tao4"],["jia4"]]
    ✓ pinyin("0套价", STYLE_TONE2,heteronym) : [["0"],["tao4"],["jia4","jie4","jie"]] === [["0"],["tao4"],["jia4","jie4","jie"]]
    ✓ pinyin("0套价", STYLE_TONE2,heteronym,segment) : [["0"],["tao4"],["jia4","jie4","jie"]] === [["0"],["tao4"],["jia4","jie4","jie"]]
    ✓ pinyin("0套价", STYLE_INITIALS) : [["0"],["t"],["j"]] === [["0"],["t"],["j"]]
    ✓ pinyin("0套价", STYLE_INITIALS,heteronym) : [["0"],["t"],["j"]] === [["0"],["t"],["j"]]
    ✓ pinyin("0套价", STYLE_INITIALS,heteronym,segment) : [["0"],["t"],["j"]] === [["0"],["t"],["j"]]
    ✓ pinyin("0套价", STYLE_FIRST_LETTER) : [["0"],["t"],["j"]] === [["0"],["t"],["j"]]
    ✓ pinyin("0套价", STYLE_FIRST_LETTER,heteronym) : [["0"],["t"],["j"]] === [["0"],["t"],["j"]]
    ✓ pinyin("0套价", STYLE_FIRST_LETTER,heteronym,segment) : [["0"],["t"],["j"]] === [["0"],["t"],["j"]]


  195 passing (104ms)

=============================================================================
Writing coverage object [/Users/Chris/Workspace/node/pinyin/coverage/coverage.json]
Writing coverage reports at [/Users/Chris/Workspace/node/pinyin/coverage]
=============================================================================

=============================== Coverage summary ===============================
Statements   : 99.95% ( 41349/41370 )
Branches     : 82.69% ( 43/52 )
Functions    : 91.67% ( 11/12 )
Lines        : 99.95% ( 41349/41370 )
================================================================================
make test
make: spm: No such file or directory
make: *** [test-spm] Error 1

spm 我没用过,按照你们的 .travis.yml 尝试初始化环境,但还是跑不了测试。

@hotoo
Copy link
Owner Author

hotoo commented Aug 24, 2015

你看看 travis 报告 https://travis-ci.org/hotoo/pinyin/jobs/76917469

@hotoo
Copy link
Owner Author

hotoo commented Aug 24, 2015

这样,请你再提交个 PR 吧,保证 travis 中的 iojs-3 通过测试。

我这个关了。

@hotoo hotoo closed this Aug 24, 2015
@hotoo hotoo deleted the iojs-3 branch July 18, 2016 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants