New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix phantom use on travis #6536
Conversation
@@ -27,8 +27,8 @@ before_install: | |||
- npm config set spin false | |||
- npm install -g bower | |||
- bower --version | |||
- npm install phantomjs-prebuilt | |||
- node_modules/phantomjs-prebuilt/bin/phantomjs --version | |||
- npm install -g phantomjs-prebuilt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you combine that with the npm install -g bower
call above? no need to invoke NPM twice :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Hmmm. Doesn't testem find the local node modules version first? Or does it only work if node_modules/.bin is in $PATH? |
I guess we'd have to ask @johanneswuerbach that 😉 |
Newer versions of testem should prefer locally installed modules. Which testem version were you using? |
So it looks like we have an issue with ember-try clearing out a local phantom install because it's not in the package.json. This PR can be treated as a temp fix to get people back on phantom 2.1 while we figure out the real issue, or we can wait until the real fix comes along. I vote for temp fix. Thoughts? |
@kellyselden actually I think installing this globally is the right thing to do, not just a temp fix |
@nathanhammond or @Turbo87 can you verify I targeted this properly? |
@kellyselden yeah, should be good IMHO |
@homu r+ |
📌 Commit b1e2099 has been approved by |
⚡ Test exempted - status |
fix phantom use on travis I noticed an issue where phantom 1.9 was being used even though we were expecting 2.1 https://travis-ci.org/ember-cli/ember-addon-output/jobs/180486782#L447-L468 turns out we needed to install it globally. Here it is in action: https://travis-ci.org/kellyselden/ember-datetimepicker/jobs/181879916#L472 I targeted release branch because this seemed like a pretty silly/low risk bug fix that we should get to people soon.
LGTM |
I noticed an issue where phantom 1.9 was being used even though we were expecting 2.1 https://travis-ci.org/ember-cli/ember-addon-output/jobs/180486782#L447-L468
turns out we needed to install it globally. Here it is in action: https://travis-ci.org/kellyselden/ember-datetimepicker/jobs/181879916#L472
I targeted release branch because this seemed like a pretty silly/low risk bug fix that we should get to people soon.