Coder Social home page Coder Social logo

Comments (5)

stephenmathieson avatar stephenmathieson commented on August 15, 2024

I'm not sure what's going on here. Tests pass locally on both Linux and OSX.

$ nvm use 0.11
Now using node v0.11.9
stephenmathieson at 0x6D746873 in ~/work/grunt-jslint on master
$ npm test

> [email protected] test /Users/stephenmathieson/work/grunt-jslint
> make test

node test/acceptance/all.js
ok
node test/acceptance/client-server.js
ok
node test/acceptance/deprecation.js
ok
node test/acceptance/itself.js
ok
node_modules/.bin/vows \
        test/*.js \
        --spec

  ♢ validate 

  metadata
    ✓ should expose the JSLint edition
  missing file
    ✓ should error
  no directives
    ✓ should not error
    ✓ should pass an Array of issues
    ✓ should contain required issue properties
    ✓ should report at least 9 issues
  shebang option
    ✓ should not error
    ✓ should pass an empty Array
  unused option
    ✓ should not error
    ✓ should report at least two violations
    ✓ should report on unused parameters
    ✓ should report on unused vars
  predef -> globals with directives.globals
    ✓ should not error
    ✓ should not pass violations
  predef -> globals without directives.globals
    ✓ should not error
    ✓ should pass a global violation
  directives: sloppy
    ✓ should not error
    ✓ should pass an empty Array
  directives: white
    ✓ should not error
    ✓ should pass an empty Array
util.print: Use console.log instead

  ♢ reporters 

  standard
    ✓ should not have errored
    ✓ should return a String
  checkstyle
    ✓ should not have errored
    ✓ should return a String
  junit-xml
    ✓ should not have errored
    ✓ should return a String
  jslint-xml
    ✓ should not have errored
    ✓ should return a String
  errors-only
    ✓ should not have errored
    ✓ should return a String
  outputted xml: checkstyle
    ✓ should not error
    ✓ should use the "checkstyle" namespace
    ✓ should contain three file nodes
    ✓ should contain an error node for each file
    ✓ each error should contain all required attributes
  outputted xml: jslint
    ✓ should not error
    ✓ should use the "jslint" namespace
    ✓ should contain three file nodes
    ✓ should contain an issue node for each file
    ✓ each error should contain all required attributes
  outputted xml: junit
    ✓ should not error
    ✓ should use the "testsuites" namespace
    ✓ should contain one "testsuite" node
    ✓ should contain the "testcase" namespace
  outputted xml: junit testcases
    ✓ should have "valid" pseudo-classnames (package name)
    ✓ should have a (somewhat) unique test name
    ✓ each testcase should only contain one failure
    ✓ each failure should have a message
util.print: Use console.log instead

  ♢ runner 

  multiple files
    ✓ should not error
    ✓ should pass a report Object
    ✓ report should contain number of failures
    ✓ report should contain number of files
    ✓ report should contain number of files in violation
    ✓ report should contain a "files" object
    ✓ files object should contain multiple keys
    ✓ each key in the files object should be an Array of issues
    ✓ each issue contained in a file should hold all required properties
  single file
    ✓ should not error
    ✓ should pass a report Object
    ✓ report should contain number of failures
    ✓ report should contain number of files
    ✓ report should contain number of files in violation
    ✓ report should contain a "files" object
    ✓ files object should contain multiple keys
    ✓ each key in the files object should be an Array of issues
    ✓ each issue contained in a file should hold all required properties
  multiple directives
    ✓ should not error
    ✓ should pass a report Object
    ✓ report should contain number of failures
    ✓ report should contain number of files
    ✓ report should contain number of files in violation
    ✓ report should contain a "files" object
    ✓ files object should contain multiple keys
    ✓ each key in the files object should be an Array of issues
    ✓ each issue contained in a file should hold all required properties
  single directive
    ✓ should not error
    ✓ should pass a report Object
    ✓ report should contain number of failures
    ✓ report should contain number of files
    ✓ report should contain number of files in violation
    ✓ report should contain a "files" object
    ✓ files object should contain multiple keys
    ✓ each key in the files object should be an Array of issues
    ✓ each issue contained in a file should hold all required properties
util.print: Use console.log instead

  ♢ templates 

  sanity
    ✓ should be an object
    ✓ should have multiple keys
    ✓ should contain an "errorsOnly" template
    ✓ should contain an "standard" template
    ✓ should contain an "jslint" template
    ✓ should contain a "checkstyle" template
    ✓ should contain an "junit" template
util.print: Use console.log instead
 util.print: Use console.log instead

✓ OK » 91 honored (0.066s) 

from grunt-jslint.

smikes avatar smikes commented on August 15, 2024

Weird. I would assume the travis environment is running under Linux.

from grunt-jslint.

stephenmathieson avatar stephenmathieson commented on August 15, 2024

Linux (Ubuntu) is fine too:

stephen@xxx:~/grunt-jslint$ cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS"
stephen@xxx:~/grunt-jslint$ node --version
v0.11.9
stephen@xxx:~/grunt-jslint$ npm test

> [email protected] test /home/stephen/grunt-jslint
> make test

node test/acceptance/all.js
ok
node test/acceptance/client-server.js
ok
node test/acceptance/deprecation.js
ok
node test/acceptance/itself.js
ok
node_modules/.bin/vows \
    test/*.js \
    --spec

  ♢ validate 

  metadata
    ✓ should expose the JSLint edition

[ . . . ]


✓ OK » 91 honored (0.107s) 

stephen@xxx:~/grunt-jslint$ 

from grunt-jslint.

smikes avatar smikes commented on August 15, 2024

I wonder if the travis 0.11 environment had a hiccup? I noticed that bootstrap also failed CI transiently (the other day) even though it looks good now. Closing this for now and will re-open if the next commit still fails CI

from grunt-jslint.

smikes avatar smikes commented on August 15, 2024

And indeed it was a hiccup, as travis is now happy even though nothing relevant changed.

from grunt-jslint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.