Continuous integration setup for Apache Cordova
- VERY IMPORTANT: Customize the parameters laid out in the
./config.json
file, especially the couch endpoint. If you're keen on getting to the data, contact me (@filmaj). sudo npm install
node bootstrap.js
node build.js
to run the builds and listen for Cordova commitsnode dashboard.js
to run the dashboard server summarizing test results
Only tested on Mac OS 10.7.5.
- git
- node + npm
- Necessary SDKs for the platforms you are building
- Any provisioning profiles or certificates for the various platforms you want to test on
- iOS stuff both installed locally for Xcode and Keychain, as well as the profiles deployed to the test devices. Fill out your keychain location (login.keychain) and your keychain password too!
- Debug tokens installed to each BlackBerry Playbook or BB10 device (sorry, no OS 7 and earlier support)
There are three components in this system: a build process, a web server acting as dashboard, and a couchdb.
- a couchdb full of medic result docs, with currently three databases:
mobilespec_results
,cordova_commits
andbuild_errors
- dashboard.js: small node web server that aggregates data from the above couch
- build.js: a node process that pings the git apache servers for updates to the Apache Cordova project repositories.
- when it detects a new commit, it will run through and wrap up the Cordova test suite, mobile-spec, in each platform implementation currently supported
- this version of mobile-spec will save results to couchdb
- Android
- iOS
- BlackBerry (Playbook and BlackBerry 10)
MIT LICENSE