diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..65f5121d3 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: node_js +sudo: false +node_js: + - "0.10" + - "0.12" +script: make test +after_script: make report diff --git a/Makefile b/Makefile index 6e0d73e5f..21ad58f9f 100644 --- a/Makefile +++ b/Makefile @@ -2,5 +2,7 @@ TESTS=tests/*.js all: test +report: + # report results to community test: ./node_modules/.bin/mocha ${TESTS} diff --git a/README.md b/README.md index 8c0926694..4abf3870e 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,9 @@ git checkout dev git checkout -b wip/my-enhancement-fix-or-proposal ``` +This command installs new versions from source: +`sudo npm install -g` + ### Fork on github. Fork the repository on github. Add your personal "remote" with something like diff --git a/package.json b/package.json index 8a42f863f..724d028d1 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "name": "oref0", "version": "0.0.8", - "description": "openaps js plugins", + "description": "openaps oref0 reference implementation of the reference design", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "make test" }, "repository": { "type": "git", - "url": "https://github.com/openaps/openaps-js.git" + "url": "https://github.com/openaps/oref0.git" }, "keywords": [ "openaps" @@ -15,7 +15,7 @@ "author": "Scott Leibrand", "license": "MIT", "bugs": { - "url": "https://github.com/openaps/openaps-js/issues" + "url": "https://github.com/openaps/oref0/issues" }, "bin": { "oref0-calculate-iob": "./bin/oref0-calculate-iob.js", @@ -28,11 +28,10 @@ "mm-format-ns-pump-history": "./bin/mm-format-ns-pump-history.sh", "oref0": "./bin/oref0.sh", "mm-stick": "./bin/mm-stick.sh", - "openaps-js": "./bin/oref0.sh", "ns-upload-entries": "./bin/ns-upload-entries.sh", "oref0-pebble": "./bin/oref0-pebble.js" }, - "homepage": "https://github.com/openaps/openaps-js", + "homepage": "https://github.com/openaps/oref0", "dependencies": { "share2nightscout-bridge": "^0.1.5", "timezone": "0.0.47"