Skip to content

Commit

Permalink
Resolve #30
Browse files Browse the repository at this point in the history
* introduce .travis.yml file
  • Loading branch information
jh3y committed Oct 22, 2017
1 parent e754d42 commit 820fbd8
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
language: node_js
node_js:
- "4"
12 changes: 8 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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 `<progress>` bars with minimal effort!

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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 lint"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/script/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* https://jh3y.github.io/ep
* @license MIT
* @author jh3y
* @version 2.0.5
* @version 2.0.6
* (c) 2017
*/
(function() {
Expand Down
2 changes: 1 addition & 1 deletion src/styles/ep.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 820fbd8

Please sign in to comment.