From 02b437036c39410eb5574ec677b942f6f871b0e6 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 8 Apr 2016 01:01:01 +0300 Subject: [PATCH] Capitalization. --- .travis.yml | 6 ++++-- appveyor.yml | 7 ------- tasks/jasmine.js | 6 +++--- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index f63bfeb..7e7f476 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/appveyor.yml b/appveyor.yml index a196c5e..5792ee4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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: diff --git a/tasks/jasmine.js b/tasks/jasmine.js index 61d5ca5..2761591 100644 --- a/tasks/jasmine.js +++ b/tasks/jasmine.js @@ -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, {