Add initial Travis CI support.
This commit is contained in:
Родитель
999eed27e4
Коммит
4c51440b97
|
@ -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
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче