Skip to content

Commit

Permalink
Add Travis build url
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed May 22, 2018
1 parent f4c25e1 commit 09a6c3a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/cli/build.js
Expand Up @@ -5,7 +5,7 @@ const Build = require('github-build')
const { repo, sha } = require('ci-env')

const MESSAGE = {
START: 'Checking URLs availability...',
START: 'Checking URLs availability',
PASS: 'Yours links are fine',
FAIL: 'Something is wrong in your links',
ERROR: 'Uh, something unexpected happened'
Expand All @@ -22,7 +22,8 @@ const token =
process.env.urlint_github_token ||
process.env.URLINT_GITHUB_TOKEN

const url = 'https://foobar.com'
const url = `https://travis-ci.org/${repo}/builds/${process.env.TRAVIS_JOB_ID}`

const meta = {
repo,
sha,
Expand Down

0 comments on commit 09a6c3a

Please sign in to comment.