1234567891011121314151617181920212223242526272829303132333435363738 |
- language: node_js
- node_js:
- - "node"
-
- git:
- depth: 3
-
- branches:
- only:
- - master
-
- cache:
- yarn: true
- directories:
- - $HOME/.gradle/caches/
- - $HOME/.gradle/wrapper/
- - $HOME/.m2
- - $HOME/android-sdk-linux/licenses/
-
- before_cache:
- - rm -rf $HOME/.gradle/caches/modules-2/modules-2.lock
- - rm -rf $HOME/.gradle/caches/*/plugin-resolution/
-
- before_install:
- - set -e
- - export ANDROID_HOME=$HOME/android-sdk-linux
- - export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
- - ./scripts/clean.sh
-
- script:
- - yarn run lint
- - yarn run test:js
- - ./scripts/installAndroidSDK.sh
- - yarn run test:android
-
- after_script:
- - echo "BUILD FINISHED"
|