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 2021/09/03 17:38:37 UTC
[cordova-paramedic] branch master updated: ci: remove travis &
appveyor (#217)
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-paramedic.git
The following commit(s) were added to refs/heads/master by this push:
new 87ec390 ci: remove travis & appveyor (#217)
87ec390 is described below
commit 87ec39026c8eeb51eab466addb41fde279d8516c
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Sat Sep 4 02:38:31 2021 +0900
ci: remove travis & appveyor (#217)
---
.travis.yml | 140 -----------------------------------------------------------
README.md | 3 --
appveyor.yml | 23 ----------
package.json | 2 -
4 files changed, 168 deletions(-)
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 49ae071..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,140 +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.
-
-addons:
- jwt:
- # SAUCE_ACCESS_KEY
- secure: NJr2X/VRsRjy/6cQqrx1kVwNH8UmVq4Ns90UjHMYFeSjacczc42qOCgMfCOxN8FBa5T6H7vqGnloTdpp56Vm1BPSLqX/M3uT1gM9/yGDsgKzEC90tt2WrGSyp7C2LRs5+EF+bj5hvFd+iO4bLA7nTnOTzgxwwzzsau0ljxx1VHbVHi2xOwuK7/ShwOhxfkNEHeJ76X/1sjssKgU++tU3uUAdiBqUupqpQmWVPsxKTp4svOcNNlBKqk+SMX8EDmeU36AXC3QBMVWmpug0z55gmmGsu8bAWRo6iKc9U0B43g5Tgw3DaRs/cNNJWN3mX/04hVJFJEzHvGaTbEvOXngHyDAtuDl9FiHYZpJK3H5eRhcXAh6IQXloYnXTzEQCIaX3N9p8gpFmMgOhMPy5a0iSIv2wcU1bNtzfbD5JokJp0vLsFphSrvhlOfKwOg0pq/dU66P1MTwHj6bwmxPK+GtQu8hRY/pA/yd9 [...]
-
-env:
- global:
- - SAUCE_USERNAME=snay
- - TRAVIS_NODE_VERSION=12
- - ANDROID_API_LEVEL=29
- - ANDROID_BUILD_TOOLS_VERSION=29.0.2
-
-language: node_js
-node_js: 12
-
-# yaml anchor/alias: https://medium.com/@tommyvn/travis-yml-dry-with-anchors-8b6a3ac1b027
-
-_ios: &_ios
- os: osx
- osx_image: xcode11.6
-
-_android: &_android
- language: android
- os: linux
- jdk: oraclejdk8
- android:
- components:
- - tools
- - build-tools-$ANDROID_BUILD_TOOLS_VERSION
- - android-$ANDROID_API_LEVEL
- licenses:
- - "android-sdk-preview-license-.+"
- - "android-sdk-license-.+"
- - "google-gdk-license-.+"
-
-matrix:
- include:
- # additional `npm test` in directory
- - env: ADDITIONAL_TESTS_DIR=./spec/testable-plugin/tests/foo
- <<: *_ios
-
- # local tests, without saucelabs
- - env: PLATFORM=local/browser
- <<: *_ios
- - env: PLATFORM=local/ios-10.0
- <<: *_ios
- - env: PLATFORM=local/ios-13.6
- <<: *_ios
-
- # many tests with saucelabs
- - env: PLATFORM=browser-chrome
- - env: PLATFORM=browser-firefox
- - env: PLATFORM=browser-safari
- - env: PLATFORM=browser-edge
-
- - env: PLATFORM=ios-11.3
- <<: *_ios
- - env: PLATFORM=ios-12.0
- <<: *_ios
- - env: PLATFORM=ios-12.2
- <<: *_ios
-
- - env: PLATFORM=android-5.1
- <<: *_android
- - env: PLATFORM=android-6.0
- <<: *_android
- - env: PLATFORM=android-7.0
- <<: *_android
- - env: PLATFORM=android-7.1
- <<: *_android
- - env: PLATFORM=android-8.0
- <<: *_android
- - env: PLATFORM=android-8.1
- <<: *_android
- - env: PLATFORM=android-9.0
- <<: *_android
- - env: PLATFORM=android-10.0
- <<: *_android
-
-before_install:
- # manually install Node for `language: android`
- - if [[ "$PLATFORM" =~ android ]]; then nvm install $TRAVIS_NODE_VERSION; fi
- - node --version
- - if [[ "$PLATFORM" =~ android ]]; then gradle --version; fi
- - if [[ "$PLATFORM" =~ ios ]]; then npm install -g ios-deploy; fi
- - npm install -g cordova
- # install paramedic if not running on paramedic repo
- - if ! [[ "$TRAVIS_REPO_SLUG" =~ cordova-paramedic ]]; then npm install -g github:apache/cordova-paramedic; fi
-
-install:
- - npm install
-
-before_script:
- - |
- if [[ "$TRAVIS_REPO_SLUG" =~ cordova-paramedic ]]; then
- # when used in the cordova-paramedic repo
- TEST_COMMAND="npm run eslint"
- PARAMEDIC_PLUGIN_TO_TEST="./spec/testable-plugin/"
- PARAMEDIC_COMMAND="node main.js"
- else
- # when used in any other (plugin) repo
- TEST_COMMAND="npm test"
- PARAMEDIC_PLUGIN_TO_TEST=$(pwd)
- PARAMEDIC_COMMAND="cordova-paramedic"
- fi
- - PARAMEDIC_BUILDNAME=travis-$TRAVIS_REPO_SLUG-$TRAVIS_JOB_NUMBER
- - |
- echo "Variables now are set to:"
- echo "TEST_COMMAND=$TEST_COMMAND"
- echo "ADDITIONAL_TESTS=$ADDITIONAL_TESTS"
- echo "PARAMEDIC_COMMAND=$PARAMEDIC_COMMAND"
- echo "PLATFORM=$PLATFORM"
- echo "PARAMEDIC_PLUGIN_TO_TEST=$PARAMEDIC_PLUGIN_TO_TEST"
- echo "PARAMEDIC_BUILDNAME=$PARAMEDIC_BUILDNAME"
-
-script:
- - $TEST_COMMAND
- - |
- if [[ "$ADDITIONAL_TESTS_DIR" != "" ]]; then
- cd $ADDITIONAL_TESTS_DIR && npm install && npm test;
- else
- $PARAMEDIC_COMMAND --config ./pr/$PLATFORM --plugin $PARAMEDIC_PLUGIN_TO_TEST --buildName $PARAMEDIC_BUILDNAME;
- fi
diff --git a/README.md b/README.md
index 26fd604..8e3510a 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,3 @@
-[![Build Status](https://travis-ci.org/apache/cordova-paramedic.svg?branch=master)](https://travis-ci.org/apache/cordova-paramedic)
-[![Build status](https://ci.appveyor.com/api/projects/status/iufmfjo0j0dd4c1w?svg=true)](https://ci.appveyor.com/project/ApacheSoftwareFoundation/cordova-paramedic)
-
> Paramedic • _noun_ provides advanced levels of care at the point of illness or injury, including out of hospital treatment, and diagnostic services
# Cordova Paramedic (Test Automation)
diff --git a/appveyor.yml b/appveyor.yml
deleted file mode 100644
index ac23171..0000000
--- a/appveyor.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# appveyor file
-# http://www.appveyor.com/docs/appveyor-yml
-
-environment:
- matrix:
- - nodejs_version: "10"
- - nodejs_version: "12"
-
-platform:
- - x86
- - x64
-
-install:
- - ps: Install-Product node $env:nodejs_version
- - node --version
- - npm install -g cordova
- - npm install
- - npm link
-
-build: off
-
-test_script:
- - npm run test-appveyor
diff --git a/package.json b/package.json
index 848520f..ed06542 100644
--- a/package.json
+++ b/package.json
@@ -16,8 +16,6 @@
"test": "npm run eslint & npm run test-local && npm run test-saucelabs",
"test-on-windows": "npm run eslint & npm run test-local-on-windows && npm run test-saucelabs-on-windows",
"eslint": "eslint lib",
- "test-travis": "npm run eslint & npm run test-ios",
- "test-appveyor": "npm run test-browser",
"test-local": "npm run test-browser && npm run test-android && npm run test-ios",
"test-local-on-windows": "npm run test-browser && npm run test-android",
"test-android": "node main.js --platform android --plugin ./spec/testable-plugin/",
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org