diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..72a9187 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,3 @@ +language: node_js +node_js: + - "4" \ No newline at end of file diff --git a/Makefile b/Makefile index 3a31f6a..14d7f34 100644 --- a/Makefile +++ b/Makefile @@ -29,11 +29,15 @@ bundle: ## bundles source deploy: ## create deployment bundle rm -rf public && $(WEBPACK) --progress --colors -p --deploy && $(GHPAGES) -d public -test-bundle: ## bundles test source - $(WEBPACK) --config webpack.config.test.babel.js --progress --colors +# NOTE:: Introduce when tests are created +# test-bundle: ## bundles test source +# $(WEBPACK) --config webpack.config.test.babel.js --progress --colors -test: test-bundle ## runs tests - $(MOCHA) test/test.js +# test: test-bundle ## runs tests +# $(MOCHA) test/test.js + +test: ## runs tests, linting + make lint develop: ## develop source $(SERVER) --progress --colors -d --hot --inline diff --git a/README.md b/README.md index dba127c..aaa3486 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Build Status](https://travis-ci.org/jh3y/ep.svg?branch=master)](https://travis-ci.org/jh3y/ep) + ![alt tag](https://github.com/jh3y/pics/blob/master/ep/ep.png) ## enhance your HTML5 `` bars with minimal effort! diff --git a/package.json b/package.json index 2d441c8..8c7f413 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "@jh3y/ep", - "version": "2.0.5", + "version": "2.0.6", "description": "enhance your progress bars with minimal effort!", "main": "dist/ep.js", "scripts": { "prepublish": "make dist", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "make test" }, "repository": { "type": "git", diff --git a/src/script/index.js b/src/script/index.js index 51d6239..01cf636 100644 --- a/src/script/index.js +++ b/src/script/index.js @@ -4,7 +4,7 @@ * https://jh3y.github.io/ep * @license MIT * @author jh3y - * @version 2.0.5 + * @version 2.0.6 * (c) 2017 */ (function() { diff --git a/src/styles/ep.scss b/src/styles/ep.scss index 7ee435f..b41d2d1 100644 --- a/src/styles/ep.scss +++ b/src/styles/ep.scss @@ -4,7 +4,7 @@ * https://jh3y.github.io/ep * @license MIT * @author jh3y - * @version 2.0.5 + * @version 2.0.6 * (c) 2017 */ @import 'core';