Skip to content

Commit

Permalink
Disables file mode check on TravisCI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Pawlowicz committed Mar 9, 2014
1 parent 2c3a95d commit e72ecfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/binary-test.js
Expand Up @@ -55,7 +55,7 @@ assert.hasBundledFile = function(set, type, name) {
var filePath = fullPath(path.join('test/data', set, 'public', type, 'bundled', name));
assert.isTrue(fs.existsSync(filePath));

if (!isWindows)
if (!isWindows && !process.env.TRAVIS)
assert.equal(16877, fs.statSync(path.dirname(filePath)).mode);
};
assert.notHasBundledFile = function(set, type, name) {
Expand All @@ -65,7 +65,7 @@ assert.hasBundledFileIn = function(set, type, name, bundledPath) {
var filePath = fullPath(path.join('test/data', set, 'public', bundledPath, name));
assert.isTrue(fs.existsSync(filePath));

if (!isWindows)
if (!isWindows && !process.env.TRAVIS)
assert.equal(16877, fs.statSync(path.dirname(filePath)).mode);
};

Expand Down

0 comments on commit e72ecfe

Please sign in to comment.