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,9 +20,7 @@
# @APPPLANT_LICENSE_HEADER_END@
language: objective-c
sudo: false
osx_image: xcode7.1
osx_image: xcode8.2
branches:
only:
@ -31,29 +29,28 @@ branches:
- /^bug\//
node_js:
- 4.4
- 6
notifications:
email: false
before_install:
# - brew update
- xcrun simctl delete 79C525D3-2383-4201-AC3A-81810F9F4E03
install:
- npm install
- npm install -g cordova
# - npm install -g ios-deploy
- brew install gradle
- 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-23.0.3,android-23"
- ( 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"
before_script:
- cordova create myApp org.apache.cordova.myApp myApp
- cd myApp
- cordova platform add ios@latest android@latest
# - cordova requirements
- cordova plugin add cordova-plugin-printer --searchpath ../
# - cordova prepare
- cordova platform ls
- cordova plugin ls
script:
- cordova build ios