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

Continuous integration - jshint & jscs #8

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

ondrejmirtes
Copy link

Hello Casey,
this is a little follow up to my ATP feedback from yesterday (about the importance of automatic codestyle checking with continuous integration). I configured the jshint and jscs tools to check Camel source code. I hope I chose sensible settings -- I tried to stick to the current style of your code assuming this is what you want it to look like. I only fixed a few warnings produced by jshint that (I assume) will result in safer code.

I also added Travis CI configuration. It automatically runs the checks on every push and on every pull request. If you will make use of this pull request, you should sign in at travis-ci.org and configure the automatic builds. The result will look like this (builds of my fork this pull request is from). The badge in README will appear once you configure the build.

If you add tests to Camel one day, you can run them in Travis as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant