diff --git a/.travis.yml b/.travis.yml index 58e55ad..8a70a7f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ script: branches: only: - - gh-pages + - master #after_success: # - npm run coveralls diff --git a/README.md b/README.md index 5325b42..50fd8d3 100644 --- a/README.md +++ b/README.md @@ -665,9 +665,9 @@ Copyright (c) 2015 Wix. Licensed under the MIT license. [npm-image]: https://img.shields.io/npm/v/react-templates.svg?style=flat-square [npm-url]: https://npmjs.org/package/react-templates -[travis-image]: https://img.shields.io/travis/wix/react-templates/gh-pages.svg?style=flat-square +[travis-image]: https://img.shields.io/travis/wix/react-templates/master.svg?style=flat-square [travis-url]: https://travis-ci.org/wix/react-templates -[coveralls-image]: https://img.shields.io/coveralls/wix/react-templates/gh-pages.svg?style=flat-square -[coveralls-url]: https://coveralls.io/r/wix/react-templates?branch=gh-pages +[coveralls-image]: https://img.shields.io/coveralls/wix/react-templates/master.svg?style=flat-square +[coveralls-url]: https://coveralls.io/r/wix/react-templates?branch=master [downloads-image]: http://img.shields.io/npm/dm/react-templates.svg?style=flat-square [downloads-url]: https://npmjs.org/package/react-templates diff --git a/wallaby.js b/wallaby.js new file mode 100644 index 0000000..953b1f0 --- /dev/null +++ b/wallaby.js @@ -0,0 +1,45 @@ +/*eslint object-shorthand:0*/ +'use strict' +// const path = require('path') + +module.exports = function (/*wallaby*/) { + return { + files: [ + 'src/**/*.js' + // {pattern: 'lib/data/*.*', instrument: false}, + // 'lib/formatters/*.js', + // {pattern: 'test/testData/**/*.*', instrument: false}, + // {pattern: 'test/src/utils/*.js', instrument: false} + ], + tests: [ + 'test/**/*.unit.js' + ], + testFramework: 'mocha', + // debug: true, + // reportConsoleErrorAsError: true, + // maxConsoleMessagesPerTest: 10000, + env: { + // use 'node' type to use node.js or io.js + type: 'node', + // if runner property is not set, then wallaby.js embedded node/io.js version is used + // you can specifically set the node version by specifying 'node' (or any other command) + // that resolves your default node version or just specify the path + // your node installation, like + runner: process.env.NODE_HOME + // runner: '/Users/idok/.nvm/versions/node/v6.9.4/bin/node' + //runner: '/usr/local/bin/jasmine-node' + // or + // runner: 'path to the desired node version' +// params: { +// runner: '--harmony --harmony_arrow_functions', +// env: 'PARAM1=true;PARAM2=false' +// } + }, + setup: function (w) { + // require(path.resolve(__dirname, './spec/support/unit-init.js')) + // require('jasmine-expect') + // w.testFramework.addMatchers(require('./test/src/utils/customMatchers')) + w.testFramework.DEFAULT_TIMEOUT_INTERVAL = 2500 + } + } +}