Capitalization.

This commit is contained in:
XhmikosR 2016-04-08 01:01:01 +03:00
parent 7046e74ccc
commit 02b437036c
3 changed files with 7 additions and 12 deletions

View File

@ -1,15 +1,17 @@
sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "5"
- "iojs"
before_install:
- if [ "$TRAVIS_NODE_VERSION" = "0.10" ]; then npm install -g npm@2; fi
matrix:
fast_finish: true
cache:
directories:
- node_modules

View File

@ -1,5 +1,3 @@
# http://www.appveyor.com/docs/appveyor-yml
clone_depth: 10
version: "{build}"
@ -20,11 +18,6 @@ environment:
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- ps: >-
if ($env:nodejs_version -eq "0.10") {
npm -g install npm@2
$env:PATH="$env:APPDATA\npm;$env:PATH"
}
- npm install
test_script:

View File

@ -13,7 +13,7 @@ module.exports = function(grunt) {
// node api
var fs = require('fs'),
path = require('path'),
sprintf = require("sprintf-js").sprintf;
sprintf = require('sprintf-js').sprintf;
// npm lib
var phantomjs = require('grunt-lib-phantomjs').init(grunt),
@ -67,7 +67,7 @@ module.exports = function(grunt) {
};
}
grunt.registerMultiTask('jasmine', 'Run jasmine specs headlessly through PhantomJS.', function() {
grunt.registerMultiTask('jasmine', 'Run Jasmine specs headlessly through PhantomJS.', function() {
// Merge task-specific options with these defaults.
var options = this.options({
@ -136,7 +136,7 @@ module.exports = function(grunt) {
file = options.host + options.outfile;
}
grunt.verbose.subhead('Testing jasmine specs via phantom').or.writeln('Testing jasmine specs via PhantomJS');
grunt.verbose.subhead('Testing Jasmine specs via PhantomJS').or.writeln('Testing Jasmine specs via PhantomJS');
grunt.log.writeln('');
phantomjs.spawn(file, {