skip hg test on travis, skip node 0.8 test because of gulp

This commit is contained in:
oleg 2015-12-09 22:48:20 +03:00
parent 1878deb739
commit 49febe9c07
2 changed files with 5 additions and 3 deletions

View File

@ -3,5 +3,3 @@ node_js:
- "stable"
- "0.12"
- "0.10"
- "0.8"

View File

@ -11,7 +11,11 @@ var expect = require('expect.js'),
['mercurial', 'git'].forEach(function(type) {
describe(type, function() {
// travis has some problems with hg (maybe just an old version)
var describeOrSkip = (
process.env.TRAVIS && type === 'mercurial' ? describe.skip : describe
);
describeOrSkip(type, function() {
var data = helpers.revs[type],
originalRepositoryPath = path.join(__dirname, 'repos', type),
repositoryName = 'test-repository',