Capitalization.
This commit is contained in:
parent
7046e74ccc
commit
02b437036c
@ -1,15 +1,17 @@
|
|||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
language: node_js
|
language: node_js
|
||||||
|
|
||||||
node_js:
|
node_js:
|
||||||
- "0.10"
|
- "0.10"
|
||||||
- "0.12"
|
- "0.12"
|
||||||
- "4"
|
- "4"
|
||||||
- "5"
|
- "5"
|
||||||
- "iojs"
|
- "iojs"
|
||||||
before_install:
|
|
||||||
- if [ "$TRAVIS_NODE_VERSION" = "0.10" ]; then npm install -g npm@2; fi
|
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# http://www.appveyor.com/docs/appveyor-yml
|
|
||||||
|
|
||||||
clone_depth: 10
|
clone_depth: 10
|
||||||
|
|
||||||
version: "{build}"
|
version: "{build}"
|
||||||
@ -20,11 +18,6 @@ environment:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- ps: Install-Product node $env:nodejs_version $env:platform
|
- 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
|
- npm install
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
|
@ -13,7 +13,7 @@ module.exports = function(grunt) {
|
|||||||
// node api
|
// node api
|
||||||
var fs = require('fs'),
|
var fs = require('fs'),
|
||||||
path = require('path'),
|
path = require('path'),
|
||||||
sprintf = require("sprintf-js").sprintf;
|
sprintf = require('sprintf-js').sprintf;
|
||||||
|
|
||||||
// npm lib
|
// npm lib
|
||||||
var phantomjs = require('grunt-lib-phantomjs').init(grunt),
|
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.
|
// Merge task-specific options with these defaults.
|
||||||
var options = this.options({
|
var options = this.options({
|
||||||
@ -136,7 +136,7 @@ module.exports = function(grunt) {
|
|||||||
file = options.host + options.outfile;
|
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('');
|
grunt.log.writeln('');
|
||||||
|
|
||||||
phantomjs.spawn(file, {
|
phantomjs.spawn(file, {
|
||||||
|
Loading…
Reference in New Issue
Block a user