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 07:24:51 UTC

[incubator-echarts] branch ci created (now 6ffced3)

This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a change to branch ci
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.


      at 6ffced3  ci: use GitHub ci

This branch includes the following new commits:

     new 6ffced3  ci: use GitHub ci

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[incubator-echarts] 01/01: ci: use GitHub ci

Posted by ov...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch ci
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git

commit 6ffced379b1f1967358a95aac8b778931a286bbb
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