mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-18 22:52:54 +08:00
a64d459c8e
and remove trailing whitespace from .travis.yml Co-authored-by: エリス <erisu@users.noreply.github.com> Co-authored-by: Christopher J. Brody <brodybits@users.noreply.github.com>
49 lines
938 B
YAML
49 lines
938 B
YAML
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=28
|
|
- ANDROID_BUILD_TOOLS_VERSION=28.0.3
|
|
- TERM=dumb # Keep gradle from crapping all over the log
|
|
matrix:
|
|
- nodejs_version=6
|
|
- nodejs_version=8
|
|
- nodejs_version=10
|
|
- 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
|
|
- npm run cover
|
|
|
|
after_script:
|
|
- codecov
|