Browse Source

Merge pull request #394 from twbs/travis-ci

Add initial Travis CI support.
pull/381/merge
XhmikosR 11 years ago
parent
commit
d89f8305bb
  1. 11
      .travis.yml
  2. 1
      Gruntfile.js
  3. 2
      README.md
  4. 3
      package.json

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

1
Gruntfile.js

@ -175,6 +175,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

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.

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",

Loading…
Cancel
Save