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 <zwl.s...@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-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org