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
|
2016-11-02 05:06:57 +08:00
|
|
|
- echo y | android update sdk -u --filter android-22,android-23,android-24,android-25
|
2016-09-02 02:21:24 +08:00
|
|
|
android:
|
|
|
|
components:
|
|
|
|
- tools
|
|
|
|
- tools
|
2014-09-09 13:59:34 +08:00
|
|
|
script:
|
2016-03-16 22:42:01 +08:00
|
|
|
- npm run jshint
|
|
|
|
- npm run cover
|
2015-10-20 01:31:40 +08:00
|
|
|
- npm run test-build
|
2016-03-16 22:42:01 +08:00
|
|
|
after_script:
|
|
|
|
- codecov
|