By default, Travis will build all branches, tags, and Pull Requests. Because we're building our master branch before we release, we don't need Travis building our releases. Also, we don't care to have Travis build all the branches. So we're going to limit Travis to only build our master branch and Pull Requests by configuring travis via our
Hi Kent, thanks for the awesome series.
Currently with babel 6.0 i have a problem getting tests to pass in travis, it always fails with
Error: Cannot find module babel/register
I tried to add babel-cli as a before install script:
before_install: - npm i -g npm@^2.0.0 - npm i -g babel-cli
but no luck so far. Do you have any idea how to fix this?
Thanks in advance, Richard
As I'm sure you're aware, babel 6.0 was just released last week and has many major breaking changes. I'm not certain what that means for this project. I'm afraid that I haven't had a moment to try things out yet. I'll let you know as soon as I figure out a solution for it (or you can if you figure it out first :-))
I made a couple of comments on the previous two lessons that solved this for me.