mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
allow magic branch to run full test
This commit is contained in:
1 parent
c70eba3237
commit
0119825e4a
2 files changed
+6
-2
No files matched your search
@@ -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'],
|
||||
|
||||
@@ -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'],
|
||||
|
||||
Reference in new issue
Block a user