1 | // https://devcenter.heroku.com/articles/heroku-ci
|
2 |
|
3 | module.exports = {
|
4 | detect: function() {
|
5 | return !!process.env.HEROKU_TEST_RUN_ID
|
6 | },
|
7 |
|
8 | configuration: function() {
|
9 | console.log(' heroku CI Detected')
|
10 | return {
|
11 | service: 'heroku',
|
12 | build: process.env.HEROKU_TEST_RUN_ID,
|
13 | commit: process.env.HEROKU_TEST_RUN_COMMIT_VERSION,
|
14 | branch: process.env.HEROKU_TEST_RUN_BRANCH,
|
15 | }
|
16 | },
|
17 | }
|