mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
90053eb9df
- rename npm tasks to reflect what they do (npm run unit-tests, npm run e2e-tests). main `npm test` runs linter, unit tests and e2e tests now. - locked jasmine down to ~2.6.0. - consolidate gitignores. - updated travis to run `npm test`. add android sdk installation to appveyor ci run.align android dpendencies across travis and appveyor. have appveyor install gradle. force gradle to version 3.4.1 in appveyor, as that seems to be the only version choco has. explicitly invoke sdkmanager to move license accepting process along.
21 lines
479 B
YAML
21 lines
479 B
YAML
language: android
|
|
sudo: false
|
|
jdk:
|
|
- oraclejdk8
|
|
before_install:
|
|
- nvm install 6
|
|
- node --version
|
|
- gradle --version
|
|
install:
|
|
- npm install
|
|
- npm install -g codecov
|
|
- echo y | android --silent update sdk --no-ui --all --filter platform-tools,tools,build-tools-26.0.0,android-26,android-25,extra-google-m2repository,extra-android-m2repository
|
|
android:
|
|
components:
|
|
- tools
|
|
script:
|
|
- npm test
|
|
- npm run cover
|
|
after_script:
|
|
- codecov
|