You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2019/02/18 04:20:12 UTC
[incubator-echarts] branch master updated: ci: add ci support
(#9929)
This is an automated email from the ASF dual-hosted git repository.
ovilia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/master by this push:
new 98ce75a ci: add ci support (#9929)
98ce75a is described below
commit 98ce75a35f85b127423d7639011df7cf98715219
Author: 羡辙 <zw...@gmail.com>
AuthorDate: Mon Feb 18 12:19:55 2019 +0800
ci: add ci support (#9929)
* ci: add ci support
* docs: update readme
* ci: add test in package.json
---
.travis.yml | 9 +++++++++
README.md | 2 ++
package.json | 3 ++-
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..d1145cd
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,9 @@
+language: node_js
+
+node_js:
+ - "node"
+
+branches:
+ only:
+ - release
+ - master
diff --git a/README.md b/README.md
index 257c58e..9903159 100644
--- a/README.md
+++ b/README.md
@@ -11,6 +11,8 @@ Please check its incubator status [here](http://incubator.apache.org/projects/ec
**[中文官网](http://echarts.baidu.com)** | **[ENGLISH HOMEPAGE](https://echarts.apache.org/index.html)**
+[![Build Status](https://travis-ci.org/apache/incubator-echarts.svg?branch=master)](https://travis-ci.org/apache/incubator-echarts) [![](https://img.shields.io/npm/dw/echarts.svg?label=npm%20downloads&style=flat)](https://www.npmjs.com/package/echarts) ![Commits Since 4.0.0](https://img.shields.io/github/commits-since/apache/incubator-echarts/4.0.0.svg?colorB=%234c1&style=flat)
+
## Get ECharts
You may choose one of the following methods:
diff --git a/package.json b/package.json
index fa68562..ce844ed 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,8 @@
"url": "https://github.com/apache/incubator-echarts.git"
},
"scripts": {
- "prepublish": "node build/build.js --prepublish"
+ "prepublish": "node build/build.js --prepublish",
+ "test": "node build/build.js"
},
"dependencies": {
"zrender": "4.0.6"
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org