Browse Source

Add initial Travis CI support.

pull/394/head
XhmikosR 11 years ago
parent
commit
4c51440b97
  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

@ -165,6 +165,7 @@ module.exports = function(grunt) {
grunt.registerTask('validate-html', ['jekyll', 'validation']); grunt.registerTask('validate-html', ['jekyll', 'validation']);
grunt.registerTask('default', ['dist']); grunt.registerTask('default', ['dist']);
grunt.registerTask('build', ['dist']); grunt.registerTask('build', ['dist']);
grunt.registerTask('test', ['dist', 'validate-html']);
// Version numbering task. // Version numbering task.
// grunt change-version-number --oldver=A.B.C --newver=X.Y.Z // 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. Build mobile apps with simple HTML, CSS, and JS components.

3
package.json

@ -20,6 +20,9 @@
"url": "https://github.com/twbs/ratchet/issues" "url": "https://github.com/twbs/ratchet/issues"
}, },
"license": "MIT", "license": "MIT",
"scripts": {
"test": "grunt test"
},
"devDependencies": { "devDependencies": {
"grunt": "~0.4.2", "grunt": "~0.4.2",
"grunt-contrib-concat": "~0.3.0", "grunt-contrib-concat": "~0.3.0",

Loading…
Cancel
Save