Fix travis

This commit is contained in:
Sebastián Katzer 2016-12-21 17:39:26 +01:00
parent ac03532de5
commit 9846a63ea0

View File

@ -20,41 +20,38 @@
# @APPPLANT_LICENSE_HEADER_END@ # @APPPLANT_LICENSE_HEADER_END@
language: objective-c language: objective-c
sudo: false osx_image: xcode8.2
osx_image: xcode7.1
branches: branches:
only: only:
- master - master
- /^feature\// - /^feature\//
- /^bug\// - /^bug\//
node_js: node_js:
- 4.4 - 6
notifications: notifications:
email: false email: false
before_install: before_install:
# - brew update - xcrun simctl delete 79C525D3-2383-4201-AC3A-81810F9F4E03
install: install:
- npm install - npm install
- npm install -g cordova - npm install -g cordova
# - npm install -g ios-deploy - brew install gradle
- brew install gradle - brew install android-sdk
- brew install android-sdk - ( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | android update sdk -a -u -t "tools,platform-tools,build-tools-25.0.2,android-25"
- ( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | android update sdk -a -u -t "tools,platform-tools,build-tools-23.0.3,android-23"
before_script: before_script:
- cordova create myApp org.apache.cordova.myApp myApp - cordova create myApp org.apache.cordova.myApp myApp
- cd myApp - cd myApp
- cordova platform add ios@latest android@latest - cordova platform add ios@latest android@latest
# - cordova requirements - cordova plugin add cordova-plugin-printer --searchpath ../
- cordova plugin add cordova-plugin-printer --searchpath ../ - cordova platform ls
# - cordova prepare - cordova plugin ls
script: script:
- cordova build ios - cordova build ios
- cordova build android - cordova build android