GithubHelp home page GithubHelp logo

juliangruber / travis-watch Goto Github PK

View Code? Open in Web Editor NEW
292.0 5.0 24.0 1.13 MB

Stream live travis test results of the current commit to your terminal!

License: MIT License

JavaScript 100.00%
travis ci dx terminal cli

travis-watch's People

Contributors

amilajack avatar dependabot[bot] avatar greenkeeper[bot] avatar juliangruber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

travis-watch's Issues

Resolve canonical repo name

Github orgs and repos sometimes aren't strictly lower case, however you can git clone them in any case you want. This results in a local git config pointing to say level/leveldown whereas the real repo is as Level/leveldown. Travis handles repo names in a case sensitive way, and so resolution currently fails.

As mentioned in #35, we should add an additional step to resolve the canonical repository name in case fetching the build from travis fails.

Version requirement question

Hi,

sorry for this issue having nothing to do whatsoever with this project (which looks pretty cool btw!). I'm just curious about something I spotted in your package.json and haven't seen elsewhere before. I'm sure there's a reason, I'm just curious why something like this is necessary. Thanks 😊

"devDependencies": {
    "prettier-standard-formatter": "^0.222222222222222.333333333333333"
},

Stuck in Loading Build...

I was just trying out travis-watch in my project's master branch and it appeared to get "stuck" in loading build. (I hadn't pushed recently, but was curious what happened regardless)

Poked into the code and it looks like it's just in the getBuild callback repeatedly.
Perhaps I'm holding it wrong :)

Excited to use this.. thanks!

SyntaxError: Block-scoped declarations

Node version: v4.4.3

Error:

let diff = differ()
^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/Users/m/.nvm/versions/node/v4.4.3/lib/node_modules/travis-watch/index.js:10:16)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)

Looks like strict mode isn't enabled in travis-watch/lib/render.js.

I'll submit a PR to fix shortly.

Support for private repos?

This looks like a great tool we could use in my team, but it doesn't seem to work with private repositories. Happy to help code a solution, but wanted to put an issue in to see if that is something you would like to support or not.

TypeError: Invalid Version: node.0.0

Hi

This project looks super cool & i'm really keen to try it but i'm getting errors. Here's what I did (as per readme):

npm i -g travis-watch

cd /path/to/proj
travis watch .

And i get an error:

travis-watch
⠸ Loading jobs/usr/local/lib/node_modules/travis-watch/node_modules/semver/semver.js:293
    throw new TypeError('Invalid Version: ' + version);
    ^

TypeError: Invalid Version: node.0.0
    at new SemVer (/usr/local/lib/node_modules/travis-watch/node_modules/semver/semver.js:293:11)
    at SemVer.compare (/usr/local/lib/node_modules/travis-watch/node_modules/semver/semver.js:342:13)
    at Function.compare (/usr/local/lib/node_modules/travis-watch/node_modules/semver/semver.js:566:31)
    at Object.keys.sort (/usr/local/lib/node_modules/travis-watch/index.js:68:21)
    at Array.sort (native)
    at Object.keys.forEach.os (/usr/local/lib/node_modules/travis-watch/index.js:67:47)
    at Array.forEach (native)
    at render (/usr/local/lib/node_modules/travis-watch/index.js:66:24)
    at check (/usr/local/lib/node_modules/travis-watch/index.js:135:11)
    at travis.jobs.get (/usr/local/lib/node_modules/travis-watch/index.js:55:5)

The project in question is Stayck which i'm working on at the moment.

I assume TW is trying to read version from package.json - this is present in my package.json:

{
  "name": "statyck",
  "version": "1.2.0",
  "description": "A super simple, markdown-based, static blog generator",
  "main": "dist/bin.js",
  "bin": {
    "statyck": "dist/bin.js"
  },
  "config": {
    "force": true
  },
  "ava": {
    "require": [
      "babel-register"
    ],
    "babel": "inherit"
  },
  "scripts": {
...

My apologies if i am doing something stupid - I just can't see what :-).

More than happy to test/investigate/send a PR - is this something you can shortcut at all for me please?

Cheers

Error: connect ETIMEDOUT

~/git/electron/i18n fix-build 6s
$ npx travis-watch

Build #50305 electron/i18n #fix-build (1m)
https://travis-ci.org/electron/i18n/builds/374067527

  ⠦ node_js: 8  (1m)
  ⠦ node_js: 10  (1m)


events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: connect ETIMEDOUT 54.235.189.49:443
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1198:14)

Version 10 of node.js has been released

Version 10 of Node.js (code name Dubnium) has been released! 🎊

To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:

  • Added the new Node.js version to your .travis.yml

If you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.

More information on this issue

Greenkeeper has checked the engines key in any package.json file, the .nvmrc file, and the .travis.yml file, if present.

  • engines was only updated if it defined a single version, not a range.
  • .nvmrc was updated to Node.js 10
  • .travis.yml was only changed if there was a root-level node_js that didn’t already include Node.js 10, such as node or lts/*. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.

For many simpler .travis.yml configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected 🤖


FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Loading builds hangs

Just tried this out on abstract-leveldown but I can't seem to get any output.

Output:

lms@x240 ~/src/level/abstract-leveldown (TEST)
$ travis-watch 
⠹ Loading build
It is taking unusually long to fetch your build.
Have you pushed your commits yet?

An in-range update of semver is breaking the build 🚨

Version 5.5.0 of semver was just published.

Branch Build failing 🚨
Dependency semver
Current Version 5.4.1
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

semver is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 7 commits.

  • 44cbc84 v5.5.0
  • 1d37529 Cleaned up coerce behavior
  • e7092b4 Improved coerce regex and added coerce to README.
  • 68cef2d Added version coercion to the module and CLI.
  • ec6f97a range.bnf: Fix invalid bracket expression
  • 906b664 travis: don't cache node_modules
  • 7184ff4 range.bnf: Remove unnecessary empty entry

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

add logs command

either add to this or create a new tool.

This would stream travis log output from your selected build to the terminal.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.