mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
ci: drop travis & move codecov to gh-actions (#940)
This commit is contained in:
parent
c81cd871f8
commit
6e51943d15
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -55,3 +55,7 @@ jobs:
|
||||
npm t
|
||||
env:
|
||||
CI: true
|
||||
|
||||
- uses: codecov/codecov-action@v1
|
||||
with:
|
||||
fail_ci_if_error: true
|
||||
|
44
.travis.yml
44
.travis.yml
@ -1,44 +0,0 @@
|
||||
sudo: false
|
||||
|
||||
# NOTE: dist is added here to ensure that Travis CI works consistently
|
||||
# on Node.js 12. It is desired to remove it once this issue is resolved
|
||||
# or otherwise goes away.
|
||||
dist: trusty
|
||||
|
||||
env:
|
||||
global:
|
||||
- ANDROID_API_LEVEL=29
|
||||
- ANDROID_BUILD_TOOLS_VERSION=29.0.2
|
||||
- TERM=dumb # Keep gradle from crapping all over the log
|
||||
matrix:
|
||||
- nodejs_version=12
|
||||
|
||||
language: android
|
||||
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-.+'
|
||||
|
||||
before_install:
|
||||
- nvm install $nodejs_version
|
||||
- node --version
|
||||
- npm --version
|
||||
- gradle --version
|
||||
|
||||
install:
|
||||
- npm install
|
||||
- npm install -g codecov
|
||||
|
||||
script:
|
||||
- npm test
|
||||
|
||||
after_script:
|
||||
- codecov
|
Loading…
Reference in New Issue
Block a user