Permalink
Browse files

Adding travis ci

  • Loading branch information...
1 parent 652dd3b commit 4dd6853239e1f34fb05bc40b9793a06c5c617435 @jrcryer jrcryer committed Jul 27, 2013
Showing with 25 additions and 2 deletions.
  1. +16 −0 .travis.yml
  2. +1 −1 Gruntfile.js
  3. +8 −1 package.json
View
@@ -0,0 +1,16 @@
+language:
+ - node_js
+node_js:
+ - "0.8"
+ - "0.10"
+before_install:
+ - sudo apt-get update -qq
+ - sudo apt-get install -qq php5
+install:
+ - curl -sS https://getcomposer.org/installer | php
+before_script:
+ - php --version
+ - php composer.phar composer --version
+ - php composer.phar install
+ - npm install -g grunt-cli
+ - npm install
View
@@ -42,4 +42,4 @@ module.exports = function(grunt) {
// By default, lint and run all tests.
grunt.registerTask('default', ['jshint', 'phpcs']);
-};
+};
View
@@ -11,12 +11,19 @@
"type": "git",
"url": "git://github.com/SaschaGalley/grunt-phpcs.git"
},
- "contributors": [],
+ "contributors": [{
+ "name": "James Cryer",
+ "email": "chat@jamescryer.com",
+ "url": "http://www.jamescryer.com/"
+ }],
"version": "0.1.1",
"main": "Gruntfile.js",
"engines": {
"node": ">=0.8.0"
},
+ "scripts": {
+ "test": "grunt"
+ },
"devDependencies": {
"grunt-contrib-jshint": "0.1.1rc6",
"grunt": "~0.4.0"

0 comments on commit 4dd6853

Please sign in to comment.