From 4c61e7bf37ec411866d8c14170383a9c8810f6a8 Mon Sep 17 00:00:00 2001 From: James Treanor Date: Fri, 7 Oct 2016 08:55:21 -0700 Subject: [PATCH] Build Example app on Travis CI/CircleCI (#94) * Build Android on CircleCI * Build iOS on TravisCI --- .travis.yml | 17 +++++++++++++++++ circle.yml | 13 +++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .travis.yml create mode 100644 circle.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9f36610 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +language: objective-c + +node_js: + - 5.10 + +sudo: false + +install: + - npm install -g cordova + +before_script: + - cd Example + - cordova platform add ios + - cordova plugin add .. + +script: + - cordova build ios diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..044ec9c --- /dev/null +++ b/circle.yml @@ -0,0 +1,13 @@ +general: + build_dir: Example + +dependencies: + override: + - npm install -g cordova +test: + pre: + - echo y | android update sdk -u --filter "extra-google-m2repository, extra-android-m2repository" + - cordova platform add android + - cordova plugin add .. + override: + - cordova build android