Commit 2827485d by Edgar Hipp

added .travis.yml

parent 95776277
language: node_js
matrix:
include:
- env: NODE_SCRIPT=node
node_js: "0.11"
- env: NODE_SCRIPT=node
node_js: "0.10"
- env: NODE_SCRIPT=./iojs-v1.0.2-linux-x64/bin/iojs
script:
- $NODE_SCRIPT /home/travis/.nvm/$(node --version)/bin/jasmine-node test/spec/docxgenTest.spec.js
before_script:
- "npm install -g npm"
- "npm install -g gulp"
- "npm install -g mocha"
- "gulp allCoffee"
- "wget https://iojs.org/dist/v1.0.2/iojs-v1.0.2-linux-x64.tar.xz"
- "tar xvfJ iojs-v1.0.2-linux-x64.tar.xz"
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"description": "Image Module for docxtemplater v1.0", "description": "Image Module for docxtemplater v1.0",
"main": "js/index.js", "main": "js/index.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "mocha"
}, },
"devDependencies": { "devDependencies": {
"chai": "^1.10.0", "chai": "^1.10.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment