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/10/18 08:11:38 UTC
[incubator-echarts] branch master updated: ci: use GitHub ci
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 c2547f3 ci: use GitHub ci
c2547f3 is described below
commit c2547f3919bd44088c86be1ce83fd2b92e8415b9
Author: Ovilia <zw...@gmail.com>
AuthorDate: Fri Oct 18 15:23:09 2019 +0800
ci: use GitHub ci
---
.github/workflows/nodejs.yml | 31 +++++++++++++++++++++++++++++++
.travis.yml | 16 ----------------
2 files changed, 31 insertions(+), 16 deletions(-)
diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml
new file mode 100644
index 0000000..6f7512c
--- /dev/null
+++ b/.github/workflows/nodejs.yml
@@ -0,0 +1,31 @@
+name: Node CI
+
+on: [push]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ node-version: [12.x]
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Use Node.js ${{ matrix.node-version }}
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ matrix.node-version }}
+ - name: npm install
+ run: |
+ npm install
+ npm install -g jshint
+ - name: jshint
+ run: |
+ jshint
+ - name: build
+ run: |
+ node build/build.js
+ env:
+ CI: true
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 9ec807a..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-language: node_js
-
-node_js:
- - "node"
-
-branches:
- only:
- - release
- - master
-
-before_script:
- - npm install -g jshint
-
-script:
- - jshint
- - node build/build.js
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org