Skip to content

Commit 0280156

Browse files
committed
完成 travis-ci
1 parent 5684f3f commit 0280156

File tree

7 files changed

+420
-50
lines changed

7 files changed

+420
-50
lines changed

.prettierignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
*.md
2+
3+
_book
4+
assets
5+
6+
.DS_Store
7+
.editorconfig
8+
.gitignore
9+
.lintmdrc
10+
.prettierignore
11+
12+
.travis.yml
13+
package-lock.json

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
language: node_js
22
node_js:
33
- "10"
4-
before_install:
5-
- npm i -g lint-md
6-
script: lint-md ./
4+
install:
5+
- npm install
6+
script:
7+
- npm test

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# TypeScript 入门教程
22

3+
[![Build Status](https://travis-ci.org/xcatliu/typescript-tutorial.svg?branch=master)](https://travis-ci.org/xcatliu/typescript-tutorial)
4+
35
从 JavaScript 程序员的角度总结思考,循序渐进的理解 TypeScript。
46

57
## 关于本书

book.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
2-
"title": "TypeScript 入门教程",
3-
"description": "从 JavaScript 程序员的角度总结思考,循序渐进的理解 TypeScript。",
4-
"author": "xcatliu <[email protected]>",
5-
"language": "zh-hans",
6-
"plugins": ["disqus", "github", "ga"],
7-
"pluginsConfig": {
8-
"disqus": {
9-
"shortName": "typescript-tutorial"
10-
},
11-
"github": {
12-
"url": "https://github.com/xcatliu/typescript-tutorial"
13-
},
14-
"ga": {
15-
"token": "UA-45256157-14"
2+
"title": "TypeScript 入门教程",
3+
"description": "从 JavaScript 程序员的角度总结思考,循序渐进的理解 TypeScript。",
4+
"author": "xcatliu <[email protected]>",
5+
"language": "zh-hans",
6+
"plugins": ["disqus", "github", "ga"],
7+
"pluginsConfig": {
8+
"disqus": {
9+
"shortName": "typescript-tutorial"
10+
},
11+
"github": {
12+
"url": "https://github.com/xcatliu/typescript-tutorial"
13+
},
14+
"ga": {
15+
"token": "UA-45256157-14"
16+
}
1617
}
17-
}
1818
}

0 commit comments

Comments
 (0)