-
Notifications
You must be signed in to change notification settings - Fork 473
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
Updating the version of node on travis so that ES6 is supported #816
Conversation
The tests are not preformed on travis. It produces the following error and then stalls until it times out:
|
When in doubt, try upgrading node packages. :) Could you try upgrading the version of |
Applying the changes @wlach suggested in #815 and #816 (specifying node version in travis.yml and upgrading node package) makes travis run again 13c71a1 however when applying a trivial ES5 to ES6 change 8ae73fb all tests related to the updated file crashes and fails in travis. Applying the same change and running the test suite locally with |
My guess is that the tests on the CI fail because Phantomjs 2.1 does not support ES6. Development on PJS seems rather stale and they do not support ES6 yet, so perhaps testing should be done in a different way. |
@lobax @RickardBjorklund argh that sucks, I didn't know phantomjs didn't support es6 In any case, we should probably move to doing headless browser testing using Firefox and Chrome. Travis has some general advice on how to do this: https://docs.travis-ci.com/user/gui-and-headless-browsers/ I'm not 100% sure how to hook this up to testem, but I can't imagine it's that hard. For a first pass, I think we can settle for testing using either Firefox or Chrome, unless it's super trivial to do both. We can always add support for the other in a follow-up. Thank you for your patience on this! |
This reverts commit 8ae73fb.
Just squashed this into one commit and landed it. Thank you! |
* Use Chrome for testing * Update version of node
Attempting to change the version of node used on travis as per the suggestion given by @wlach in issue #815