Merge pull request #1240 from austinpray/gulp

Have Travis run JSHint and verify that the build process runs successfully
This commit is contained in:
Ben Word
2014-12-28 13:17:06 -06:00
4 changed files with 17 additions and 1 deletions

1
.gitignore vendored
View File

@@ -3,3 +3,4 @@
dist
bower_components
node_modules
npm-debug.log

11
.travis.yml Normal file
View File

@@ -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

View File

@@ -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.

View File

@@ -16,7 +16,10 @@
"url": "http://opensource.org/licenses/MIT"
}
],
"scripts": {},
"scripts": {
"build": "bower install && gulp",
"jshint": "gulp jshint"
},
"engines": {
"node": ">= 0.10.0"
},