allow magic branch to run full test

This commit is contained in:
Bart van der Schoor
2014-03-08 01:25:43 +01:00
parent c70eba3237
commit 0119825e4a
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -1293,10 +1293,12 @@ var DT;
process.exit(0);
}
var testFull = process.env['TRAVIS_BRANCH'] ? /\w\/full$/.test(process.env['TRAVIS_BRANCH']) : false;
new TestRunner(dtPath, {
concurrent: argv['single-thread'] ? 1 : Math.max(cpuCores, 2),
tscVersion: argv['tsc-version'],
testChanges: argv['test-changes'],
testChanges: testFull ? false : argv['test-changes'],
skipTests: argv['skip-tests'],
printFiles: argv['print-files'],
printRefMap: argv['print-refmap'],
+3 -1
View File
@@ -336,10 +336,12 @@ module DT {
process.exit(0);
}
var testFull = process.env['TRAVIS_BRANCH'] ? /\w\/full$/.test(process.env['TRAVIS_BRANCH']) : false;
new TestRunner(dtPath, {
concurrent: argv['single-thread'] ? 1 : Math.max(cpuCores, 2),
tscVersion: argv['tsc-version'],
testChanges: argv['test-changes'],
testChanges: testFull ? false : argv['test-changes'], // allow magic branch
skipTests: argv['skip-tests'],
printFiles: argv['print-files'],
printRefMap: argv['print-refmap'],