2014-09-09 13:59:34 +08:00
|
|
|
language: android
|
2015-01-15 21:33:24 +08:00
|
|
|
sudo: false
|
2016-09-02 02:21:24 +08:00
|
|
|
jdk:
|
|
|
|
- oraclejdk8
|
2016-08-19 15:18:11 +08:00
|
|
|
before_install:
|
|
|
|
- nvm install 6
|
|
|
|
- node --version
|
2017-03-14 02:53:59 +08:00
|
|
|
- gradle --version
|
2015-06-30 16:35:28 +08:00
|
|
|
install:
|
|
|
|
- npm install
|
2016-03-16 22:42:01 +08:00
|
|
|
- npm install -g codecov
|
2017-06-28 01:02:38 +08:00
|
|
|
- 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
|
2016-09-02 02:21:24 +08:00
|
|
|
android:
|
|
|
|
components:
|
|
|
|
- tools
|
2014-09-09 13:59:34 +08:00
|
|
|
script:
|
2017-06-28 01:02:38 +08:00
|
|
|
- npm test
|
2016-03-16 22:42:01 +08:00
|
|
|
- npm run cover
|
|
|
|
after_script:
|
|
|
|
- codecov
|