Permalink
Browse files

Add initial Travis CI support.

  • Loading branch information...
1 parent 999eed2 commit 4c51440b9723cbdd179f0ebac0f9f6e888897640 @XhmikosR XhmikosR committed Mar 3, 2014
Showing with 16 additions and 1 deletion.
  1. +11 −0 .travis.yml
  2. +1 −0 Gruntfile.js
  3. +1 −1 README.md
  4. +3 −0 package.json
View
11 .travis.yml
@@ -0,0 +1,11 @@
+language: node_js
+node_js:
+ - "0.10"
+before_install:
+ - rvm use 1.9.3
+install:
+ - npm install -g grunt-cli
+ - npm install
+ - gem install --no-document jekyll sass
+matrix:
+ fast_finish: true
View
1 Gruntfile.js
@@ -165,6 +165,7 @@ module.exports = function(grunt) {
grunt.registerTask('validate-html', ['jekyll', 'validation']);
grunt.registerTask('default', ['dist']);
grunt.registerTask('build', ['dist']);
+ grunt.registerTask('test', ['dist', 'validate-html']);
// Version numbering task.
// grunt change-version-number --oldver=A.B.C --newver=X.Y.Z
View
2 README.md
@@ -1,4 +1,4 @@
-# Ratchet v2.0.0 [![devDependencies](https://david-dm.org/twbs/ratchet/dev-status.png?theme=shields.io)](https://david-dm.org/twbs/ratchet#info=devDependencies)
+# Ratchet v2.0.0 [![Build Status](https://secure.travis-ci.org/twbs/ratchet.png)](http://travis-ci.org/twbs/ratchet) [![devDependencies](https://david-dm.org/twbs/ratchet/dev-status.png?theme=shields.io)](https://david-dm.org/twbs/ratchet#info=devDependencies)
Build mobile apps with simple HTML, CSS, and JS components.
View
3 package.json
@@ -20,6 +20,9 @@
"url": "https://github.com/twbs/ratchet/issues"
},
"license": "MIT",
+ "scripts": {
+ "test": "grunt test"
+ },
"devDependencies": {
"grunt": "~0.4.2",
"grunt-contrib-concat": "~0.3.0",

0 comments on commit 4c51440

Please sign in to comment.