Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds node 6 to CI matrix; closes #2239 #2251

Merged
merged 2 commits into from
May 13, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 25 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,33 @@
# in order to use 'trusty' dist, need this.
# see https://docs.travis-ci.com/user/trusty-ci-environment/
sudo: required

# trust dist provides a modern build chain (as opposed to 'precise' dist)
# which absolves us from having to install compilers and stuff
dist: trusty

language: node_js
env:
global:
- CXX=g++-4.8

node_js:
- '6'
- '5'
- '4'
- 'iojs'
- '0.12'
- '0.11'
- '0.10'
- '0.8'

before_install:
- ./scripts/ensure-compatible-npm.sh
# node 0.8 won't install our dev deps with an out-of-box npm;
# this upgrades it
- ./scripts/ensure-compatible-npm.sh

script: travis_retry npm test
node_js:
- '5'
- '4'
- 'iojs'
- '0.12'
- '0.11'
- '0.10'
- '0.8'
sudo: false

notifications:
urls:
# for gitter
- secure: "EmycFlk48bUvOQ07mxnbcn6T+n3G4wVWuXgrDsUUp6EhJ9866wQK9i+qVhqogWuSEQrGoVaS/vpc/NEYxDP30BD/+nqgvOhVhLVEgtziI85imyV/oUVpArdW3AUmuzCrx7rQCivygjpBmWV9ZcUT5Km4qp1iQhuumy2WbplxrZ4="
on_success: change
on_failure: always
11 changes: 11 additions & 0 deletions test/acceptance/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,17 @@ describe('lib/utils', function () {
utils.lookupFiles('/tmp', ['js'], false).should.eql([]);
});

it('should accept a glob "path" value', function () {
utils.lookupFiles('/tmp/mocha-utils*', ['js'], false)
.should
.containEql('/tmp/mocha-utils-link.js')
.and
.containEql('/tmp/mocha-utils.js')
.and
.have
.lengthOf(2);
});

afterEach(function () {
['/tmp/mocha-utils.js', '/tmp/mocha-utils-link.js', '/tmp/bob'].forEach(function (path) {
try {
Expand Down