From 9e57b0227f81a3032a19633d4f90dbcb07ddf508 Mon Sep 17 00:00:00 2001 From: Jesse MacFadyen Date: Mon, 2 Mar 2015 16:47:11 -0800 Subject: [PATCH] CB-8573 Integrate TravisCI --- .travis.yml | 14 ++++++++++++++ README.md | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..d31abd2 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +language: objective-c +git: + depth: 2 +node_js: + - "0.10" +install: + - echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config + - cd .. + - npm install -g purplecabbage/cordova-paramedic + - npm install -g cordova + - npm install -g ios-sim +script: + - cordova-paramedic --platform ios --plugin ../cordova-plugin-network-information + \ No newline at end of file diff --git a/README.md b/README.md index 43167f7..56d450c 100644 --- a/README.md +++ b/README.md @@ -19,4 +19,6 @@ # org.apache.cordova.network-information +[![Build Status](https://travis-ci.org/apache/cordova-plugin-network-information.svg)](https://travis-ci.org/apache/cordova-plugin-network-information) + Plugin documentation: [doc/index.md](doc/index.md)