Skip to content
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

Run the tests of downstream projects. #1206

Closed
wants to merge 1 commit into from
Closed

Conversation

ariya
Copy link
Contributor

@ariya ariya commented Jun 26, 2015

This is done by checking out each project, run npm install, drop-in a
replacement for esprima.js, and run npm test. As of now, this is carried
out only as part of Travis CI build. It can be tested manually by:

  rm -rf downstream
  npm run downstream

Due to some unknown reason, .eslintrc can't exist otherwise it is going
to confuse the linting of the downstream project. The workaround is to
use custom config file.

Refs #1023

@ariya
Copy link
Contributor Author

ariya commented Jun 26, 2015

For some reasons, Travis CI complains with

npm ERR! notarget No compatible version found: esprima-moz@'*'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["1.0.0-dev-harmony-moz"]

when running npm install on Escodegen. This is weird, I can't reproduce it. Running npm install esprima-moz@'*' manually works just fine.

@ariya
Copy link
Contributor Author

ariya commented Jun 26, 2015

Until the mystery with escodegen is resolved, I've removed it and substituted with js2coffee for the time being.

@ariya
Copy link
Contributor Author

ariya commented Jun 26, 2015

Last status: build with io.js still fails, let me restart the build and see what happens.
Build time on Travis CI from 1.5 minutes to 8 minutes. Note that this is only executed for Node.js >= 0.11.

@ariya
Copy link
Contributor Author

ariya commented Jun 27, 2015

Travis CI is still failing. I'm going to restrict this downstream test run only to Node.js 0.12.

This is done by checking out each project, run npm install, drop-in a
replacement for esprima.js, and run npm test. As of now, this is carried
out only as part of Travis CI build. It can be tested manually by:

  rm -rf downstream
  npm run downstream

Due to some unknown reason, .eslintrc can't exist otherwise it is going
to confuse the linting of the downstream project. The workaround is to
use custom config file.

Refs jquery#1023
@ariya
Copy link
Contributor Author

ariya commented Jun 29, 2015

Any reviewer? @ikarienator @mikesherov

@mikesherov
Copy link
Member

👀

@mikesherov
Copy link
Member

👍

@ariya ariya closed this in 819cada Jun 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants