File tree 2 files changed +36
-13
lines changed
2 files changed +36
-13
lines changed Original file line number Diff line number Diff line change
1
+ # in order to use 'trusty' dist, need this.
2
+ # see https://docs.travis-ci.com/user/trusty-ci-environment/
3
+ sudo : required
4
+
5
+ # trust dist provides a modern build chain (as opposed to 'precise' dist)
6
+ # which absolves us from having to install compilers and stuff
7
+ dist : trusty
8
+
1
9
language : node_js
2
- env :
3
- global :
4
- - CXX=g++-4.8
10
+
11
+ node_js :
12
+ - ' 6'
13
+ - ' 5'
14
+ - ' 4'
15
+ - ' iojs'
16
+ - ' 0.12'
17
+ - ' 0.11'
18
+ - ' 0.10'
19
+ - ' 0.8'
20
+
5
21
before_install :
6
- - ./scripts/ensure-compatible-npm.sh
22
+ # node 0.8 won't install our dev deps with an out-of-box npm;
23
+ # this upgrades it
24
+ - ./scripts/ensure-compatible-npm.sh
25
+
7
26
script : travis_retry npm test
8
- node_js :
9
- - ' 5'
10
- - ' 4'
11
- - ' iojs'
12
- - ' 0.12'
13
- - ' 0.11'
14
- - ' 0.10'
15
- - ' 0.8'
16
- sudo : false
27
+
17
28
notifications :
18
29
urls :
30
+ # for gitter
19
31
- secure : " EmycFlk48bUvOQ07mxnbcn6T+n3G4wVWuXgrDsUUp6EhJ9866wQK9i+qVhqogWuSEQrGoVaS/vpc/NEYxDP30BD/+nqgvOhVhLVEgtziI85imyV/oUVpArdW3AUmuzCrx7rQCivygjpBmWV9ZcUT5Km4qp1iQhuumy2WbplxrZ4="
20
32
on_success : change
21
33
on_failure : always
Original file line number Diff line number Diff line change @@ -404,6 +404,17 @@ describe('lib/utils', function () {
404
404
utils . lookupFiles ( '/tmp' , [ 'js' ] , false ) . should . eql ( [ ] ) ;
405
405
} ) ;
406
406
407
+ it ( 'should accept a glob "path" value' , function ( ) {
408
+ utils . lookupFiles ( '/tmp/mocha-utils*' , [ 'js' ] , false )
409
+ . should
410
+ . containEql ( '/tmp/mocha-utils-link.js' )
411
+ . and
412
+ . containEql ( '/tmp/mocha-utils.js' )
413
+ . and
414
+ . have
415
+ . lengthOf ( 2 ) ;
416
+ } ) ;
417
+
407
418
afterEach ( function ( ) {
408
419
[ '/tmp/mocha-utils.js' , '/tmp/mocha-utils-link.js' , '/tmp/bob' ] . forEach ( function ( path ) {
409
420
try {
You can’t perform that action at this time.
0 commit comments