You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2020/04/11 09:44:40 UTC
[cordova-electron] branch master updated: ci: update workflow (#146)
This is an automated email from the ASF dual-hosted git repository.
erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-electron.git
The following commit(s) were added to refs/heads/master by this push:
new 936ab4a ci: update workflow (#146)
936ab4a is described below
commit 936ab4a4e517c1a2275653b9c8193dfb43725365
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Sat Apr 11 18:44:31 2020 +0900
ci: update workflow (#146)
* Remove Travis CI
* Remove Travis CI and Appveyor from npm ignore list
* Added Codecov to GitHub Actions Workflow
* Bump actions/checkout@v2
---
.github/workflows/ci.yml | 6 +++++-
.npmignore | 4 ----
.travis.yml | 30 ------------------------------
3 files changed, 5 insertions(+), 35 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5df8a0b..d38ad9a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -31,7 +31,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
@@ -47,3 +47,7 @@ jobs:
run: npm cit
env:
CI: true
+
+ - uses: codecov/codecov-action@v1
+ with:
+ fail_ci_if_error: true
diff --git a/.npmignore b/.npmignore
index a3960e5..b05ad78 100644
--- a/.npmignore
+++ b/.npmignore
@@ -6,10 +6,6 @@ coverage
tests
temp
-# CI service configurations
-.travis.yml
-appveyor.yml
-
# Logging
logs
*.log
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 44cc45f..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,30 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-language: node_js
-sudo: false
-
-os:
- - linux
-
-node_js: 12
-
-script:
- - npm cit
-
-after_script:
- - npx codecov
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org