Skip to content
This repository has been archived by the owner on Jan 29, 2021. It is now read-only.

TravisBuddy Integration #32

Closed
wants to merge 1 commit into from
Closed

Conversation

TravisBuddy
Copy link
Collaborator

Hello!

I'm TravisBuddy, and I'd like to help out by telling your contributors what's wrong when they create a PR that breaks the tests.
Here are few examples of what I do:

  1. Update server.js static-server#1
  2. Create gaia.json name-db#469

Feel free to visit my website or view my code on GitHub.

If you want me to comment on PRs in this repository, all you have to do is to merge this PR, and if you don't - just close it. :)

Thanks,
TravisBuddy 💚

@bluzi bluzi closed this Dec 3, 2017
@TravisBuddy
Copy link
Collaborator Author

Travis tests have failed

Hey Travis Buddy,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

npm test

> [email protected] test /home/travis/build/bluzi/travis-buddy
> mocha



  GET /status
    ✓ should be running and return HTTP status 200

  GET /test
19:26:22.729Z  INFO unknown : Testing job '295503460' (node_js)
19:26:22.972Z  INFO unknown : Done found after 0/10 attempts.
    ✓ should return HTTP status 200 (253ms)

  POST /
19:26:22.990Z  INFO unknown : Handling request for 'create sdfdsfsd' by 'Eliran Pe'er'
19:26:23.353Z  INFO unknown : Done found after 0/10 attempts.
19:26:23.357Z ERROR unknown : 
    Error in handler { params: {},
      owner: 'bluzi',
      repo: 'name-db',
      pullRequest: 32,
      pullRequestTitle: 'create sdfdsfsd',
      buildNumber: 295066345,
      jobs: [ 295066347 ],
      author: 'Eliran Pe\'er',
      state: 'failed',
      branch: 'bluzi-patch-3',
      travisType: 'push',
      language: 'node_js',
      scripts: undefined }
19:26:23.358Z ERROR unknown : 
    Error: Invalid GitHub access token null { params: {},
      owner: 'bluzi',
      repo: 'name-db',
      pullRequest: 32,
      pullRequestTitle: 'create sdfdsfsd',
      buildNumber: 295066345,
      jobs: [ 295066347 ],
      author: 'Eliran Pe\'er',
      state: 'failed',
      branch: 'bluzi-patch-3',
      travisType: 'push',
      language: 'node_js',
      scripts: undefined }
    1) should return HTTP status 200 and ok message

  GET /
    ✓ should return HTML and status 200

  GET /getting-started
    ✓ should return HTML and status 200

  GET /contact-us
    ✓ should return HTML and status 200

  GET /dashboard
    ✓ should return HTML and status 200


  6 passing (713ms)
  1 failing

  1) POST /
       should return HTTP status 200 and ok message:
     Error: expected 200 "OK", got 500 "Internal Server Error"
      at Test._assertStatus (node_modules/supertest/lib/test.js:266:12)
      at Test._assertFunction (node_modules/supertest/lib/test.js:281:11)
      at Test.assert (node_modules/supertest/lib/test.js:171:18)
      at Server.assert (node_modules/supertest/lib/test.js:131:12)
      at emitCloseNT (net.js:1655:8)
      at _combinedTickCallback (internal/process/next_tick.js:135:11)
      at process._tickCallback (internal/process/next_tick.js:180:9)



npm ERR! Test failed.  See above for more details.


npm run lint

> [email protected] lint /home/travis/build/bluzi/travis-buddy
> eslint .



1 similar comment
@TravisBuddy
Copy link
Collaborator Author

Travis tests have failed

Hey Travis Buddy,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

npm test

> [email protected] test /home/travis/build/bluzi/travis-buddy
> mocha



  GET /status
    ✓ should be running and return HTTP status 200

  GET /test
19:26:22.729Z  INFO unknown : Testing job '295503460' (node_js)
19:26:22.972Z  INFO unknown : Done found after 0/10 attempts.
    ✓ should return HTTP status 200 (253ms)

  POST /
19:26:22.990Z  INFO unknown : Handling request for 'create sdfdsfsd' by 'Eliran Pe'er'
19:26:23.353Z  INFO unknown : Done found after 0/10 attempts.
19:26:23.357Z ERROR unknown : 
    Error in handler { params: {},
      owner: 'bluzi',
      repo: 'name-db',
      pullRequest: 32,
      pullRequestTitle: 'create sdfdsfsd',
      buildNumber: 295066345,
      jobs: [ 295066347 ],
      author: 'Eliran Pe\'er',
      state: 'failed',
      branch: 'bluzi-patch-3',
      travisType: 'push',
      language: 'node_js',
      scripts: undefined }
19:26:23.358Z ERROR unknown : 
    Error: Invalid GitHub access token null { params: {},
      owner: 'bluzi',
      repo: 'name-db',
      pullRequest: 32,
      pullRequestTitle: 'create sdfdsfsd',
      buildNumber: 295066345,
      jobs: [ 295066347 ],
      author: 'Eliran Pe\'er',
      state: 'failed',
      branch: 'bluzi-patch-3',
      travisType: 'push',
      language: 'node_js',
      scripts: undefined }
    1) should return HTTP status 200 and ok message

  GET /
    ✓ should return HTML and status 200

  GET /getting-started
    ✓ should return HTML and status 200

  GET /contact-us
    ✓ should return HTML and status 200

  GET /dashboard
    ✓ should return HTML and status 200


  6 passing (713ms)
  1 failing

  1) POST /
       should return HTTP status 200 and ok message:
     Error: expected 200 "OK", got 500 "Internal Server Error"
      at Test._assertStatus (node_modules/supertest/lib/test.js:266:12)
      at Test._assertFunction (node_modules/supertest/lib/test.js:281:11)
      at Test.assert (node_modules/supertest/lib/test.js:171:18)
      at Server.assert (node_modules/supertest/lib/test.js:131:12)
      at emitCloseNT (net.js:1655:8)
      at _combinedTickCallback (internal/process/next_tick.js:135:11)
      at process._tickCallback (internal/process/next_tick.js:180:9)



npm ERR! Test failed.  See above for more details.


npm run lint

> [email protected] lint /home/travis/build/bluzi/travis-buddy
> eslint .



Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants