Created
November 4, 2016 05:11
-
-
Save kaiyuan01/9c0fdc8a8165d5617fb5e7b27eadda32 to your computer and use it in GitHub Desktop.
Travis CI Cordova Android build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: android | |
node_js: | |
- 5.5 | |
notifications: | |
email: false | |
sudo: false | |
branches: | |
only: | |
- master | |
install: | |
- npm cache clean | |
- npm install | |
- npm install -g cordova | |
- echo y | android update sdk -u --filter android-22,android-23 | |
before_script: | |
- cordova platform rm android | |
- cordova platform add android | |
script: | |
- cordova prepare | |
- cordova build android --release -- --ant | |
release: | |
- exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment