diff --git a/.gitignore b/.gitignore index 9eddf7e..8596abe 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ dist bower_components node_modules +npm-debug.log diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..88353cd --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +sudo: false +language: php +php: +- '5.5' +- '5.4' +before_install: + - npm install -g bower + - npm install +script: + - npm run build + - npm run jshint diff --git a/README.md b/README.md index 307e0a3..9297268 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # [Roots Starter Theme](http://roots.io/) +[![Build Status](https://travis-ci.org/roots/roots.svg)](https://travis-ci.org/roots/roots) [![devDependency Status](https://david-dm.org/roots/roots/dev-status.svg)](https://david-dm.org/roots/roots#info=devDependencies) Roots is a WordPress starter theme based on [HTML5 Boilerplate](http://html5boilerplate.com/) & [Bootstrap](http://getbootstrap.com/) that will help you make better themes. diff --git a/package.json b/package.json index 1aa552f..0ea6de5 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,10 @@ "url": "http://opensource.org/licenses/MIT" } ], - "scripts": {}, + "scripts": { + "build": "bower install && gulp", + "jshint": "gulp jshint" + }, "engines": { "node": ">= 0.10.0" },