Skip to content

Commit 6f49745

Browse files
committed
Prefix build with Travis build no.
1 parent c07cbc8 commit 6f49745

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/helper.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ function runRepository(testHome, runnerPath, repository, config, callback) {
7373
conf.test_framework = repository.test_framework;
7474
conf.browsers = repository.browsers;
7575
conf.project = repository.name;
76-
conf.build = repository.branch;
76+
77+
var ciPrefix = process.env.TRAVIS_BUILD_NUMBER;
78+
conf.build = (ciPrefix ? ciPrefix + '-' : '') + repository.branch;
7779
conf.test_path = repository.test_path;
7880

7981
runTests(runnerPath, process.cwd(), conf, repository.expected_results, done);

0 commit comments

Comments
 (0)