Continuous Integration With Travis
If you host you kanso project on github, you can have Travis-CI build and test your couchapp on every commit. Here is how.
- Follow the Getting Started steps.
- Create a .travis.yml file that looks like this
language: node_js
node_js:
- 0.6
env: DB=couchdb
before_script:
- curl -X PUT localhost:5984/myapp_test
- npm install kanso -g
script: "kanso install; kanso push http://localhost:5984/myapp_test"
You can customize the script to your needs. Examples of running tests suites will be added shortly.